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://es.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.
When my grid first loads there are no rows. I bind it to an empty list. I use the editing to add a new row. That returns me to my grid. I noticed when I do a post back. That I can get the client events DeleteButtonHidden, DeleteButtonDisplaying, and DeleteButtonDisplayed are called. Through a mouseover event. When I first add a new row, these never get called. Do I have to set something to allow mouseover?
I looked further into this matter and I was able to reproduce the behavior that you are describing. I am currently discussing this with our development staff. I will keep you posted on my progress and I will get back to you as soon as I have any new information regarding this matter.
Please feel free to continue sending updates at any time.
Thank you for your patience and cooperation on this matter.
Thanks.. Do you have a timeframe on this? I need to know if I have to scrap my current plans or wait until I hear back from you.
Hi Abby,
I just want to update you that the service release that fix this issue is ready and you can download it form the My keys and download section under the Service release Tab:
Please let us know if you still experience any issues.
I also looking the same implementation in my code.Can you please share the coding in this blog as reply or pls make it available for me also in my account.(Since I am not able to see the coding while clicking the above link provided)