Export Selected rows

Hi,

I’m using Karthik Dynagrid component and I want to export only the selected rows using a checkbox. How can I do that?

This is my code for the checkbox column and I’m also using the export functionality from the Dynagrid:





[

'class'=>'kartik\grid\CheckboxColumn',

'order'=>DynaGrid::ORDER_FIX_LEFT

],