We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

getSelectedRowIndexes

Hello,

I have a selection grid with checkboxes with 20 data inside.
I filter a column and the display is now 2 data.
I select the 2 rows with my checkboxes (the checkbox inside the column header get automatically checked).
And when I press the delete button from the toolbar, I call the function getSelectedRowIndexes() from my grid instance (document.getElementById('XX').ej2_instances)

And I get all the indexes inside the array instead of the only 2 that I just checked.

I reproduce this with the options selecttionSettings: { persistSelection: false }


But in my case persistSelection is set to true.

Can you help me to understand why in my case persistSelection is not working?


1 Reply

PS Pavithra Subramaniyam Syncfusion Team March 22, 2019 12:13 PM UTC

Hi BERNARD, 

Greetings from Syncfusion. 

We have validated the defect you have initiated with us. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the defect fix in our subsequent patch release on mid of April, 2019. If you wish to receive this fix in a specific prior release product version please contact Syncfusion Support (backwards compatibility subject to technological feasibility and our Support SLA) You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link https://www.syncfusion.com/feedback/5360/getrowindexes-returns-all-indexes-when-called-after-filtering-some-records-in-virtualization-grid

Please get back to us for further assistance. 
 
Regards, 
Pavithra S. 


Loader.
Live Chat Icon For mobile
Up arrow icon