I am using an UltrawebGrid that is bound to a dataset. I hide 4 columns when viewing. I am having issues with the size of the rowselector size (see pic). I have tried to set the size of the rowselectorstyle.width, as well as each of the columns of the grid. I have also set the TableLayout to auto and I am still getting the same results. Anything I am overlooking?
Thank You Petar! Much appreciated!
Would you know what I can do with this post?
http://community.infragistics.com/forums/p/66644/336823.aspx#336823
Hi jcom39201,
Please feel free to contact me if you have any further questions regarding this scenario.
I am attaching a sample illustrating the change in datasource and applying conditional styling scenario (on the test page, upon selecting a different node in a tree, the datasource of WebDataGrid is toggled).
Regarding manually updating your datasource, I suggest that you take a look at the following video illustrating WebDataGrid Manual CRUD:
http://blogs.infragistics.com/aspnet/media/p/218617.aspx
Note that you can update your datasource in the rowAdding/Updating/Deleting events, which will be fired for each modified row. More information on enabling and using the WDG BatchUpdating feature can be found at:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=WebDataGrid_Batch_Updating.html
Please let me know if this is helpful.
Petar,
Sorry to be so bothersome but I am not having much luck with this new control as of yet. Another issue I am having is editing and saving the grid data. Because I have a complex sql select statement and I also change the bound datasource of the grid based on the tree selection, my datasource binding is done in vb programmatically. In the webdatagrid, I have the autocrud set to false and editingcore enabled and batchupdating set to true. I do this because I want the user to be able to edit any data in the grid without a postback and then to select a button that cycles through the rows and updates the data programmatically. Everything works ok until I go to save the updates. I cycle through the rows using
WebDataGrid1.Rows(iCount).Items(0).Value to get the value in a given cell. The problem is that this value is not the modified value, it is still the original value. Is there a way to get the modified values programmatically?
Thank You!
I am using 11.2 version. Changing from Ultrawebgrid to webdatagrid has been confusing and have not found much documentation on it. I did find a youtube video that helped me get a dropdown editor working correctly. It was basically in how I set it up. I am going to review my setup for the datepicker and see if I don't have it set up correctly. I will let you know.
On the styling issue, yes, I do reapply a new datasource to the grid on each selection of the webdatatree. What clause should I add?
Thank you!