Hi,
I am trying to get my webdatgagrid to use Batch Updating. In the past, I allowed it use postbacks to commit the rows to the server. I have been playing around with the webdata grid. One feature I currently have is a delete button in one of the columns.
I saw this example:
http://ko.infragistics.com/products/aspnet/sample/data-grid/row-deleting-button
I really liked it. But I notice once I turned on Batch Editing, I no longer have the delete button appearing. Can I get this feature when using BatchUpdating? If not how can I show a delete button for a row that has not been commited back to the server? I am able to press the delete key on my keyboard and the undo button does appear. But the common user will never get that. So i need to be able to display something obvious.
Any Suggestion?
I did some more testing. When I first load the datagrid. 99% of the time its going to load empty. I use a row edit template to add a row. (W/ Batch Updating). The row is added to grid but not commtted. At this point, I do not get the delete button.
I do a post back and return to the grid. I then get the delete button. I can add a new non committed row and the delete button is there.
It appears that the problem is when I first add rows without a post back.
To add the new row I run this line in javascript..
grid.get_behaviors().get_editingCore().get_behaviors().get_rowAdding()._commitRow();
Does anyone know what I am missing?
Hello Abby,
Thank you for posting in our community.
In order to investigate this matter further I will need an isolated, working sample of your application where the issue is reproducible. This will help me to look deeper into this issue and find the root cause for this behavior.
This is going to be highly appreciated.
Thank you in advance.