Grid virtualization and delete row not working
I am using grid to show some data, i am deleting a row while EnableVirtualization is true and calling refresh method but its not working and not showing new list after deleting even if it has been deleted from the list
- Share with us a video demo showing the replication of the problem you are facing.
- Are you using Grid’s default inbuilt Delete feature? Deleting the selected row by clicking on Delete toolbar button?
- Or are you deleting the row from List bound to Grid and later refreshing Grid to reflect the changes?
- Share with us details of custom code(if you are using any custom code for deleting)
- Share the complete Grid rendering codes.
- If possible, share with us a simple issue reproducing sample for us to validate based on your scenario.
Hello,
1- i am not using inbuilt delete method but deleting the row from List bound to Grid and later refreshing Grid to reflect the changes
2- i can't share the code for now because i rewrite sfgrid component to custom component but i will declare the situation:
i have list of some class it displays every column correctly i added custom column and used column template to add button and send the selected object to delete method - on delete method i deleted the object from the list and refresh the grid but it did not rendered correctly while i am using row virtualization but when i put virtualization off it works fine. to solve this i refresh the grid on data-bound and it worked m question is this the best solution?
- 3 Replies
- 2 Participants
-
SA Sadi
- Sep 13, 2021 10:56 AM UTC
- Sep 20, 2021 02:43 PM UTC