I want to reset or clear the ultragrid by default.
How do you clear the ultra grid,
Hello Keith,
To my understanding, you have taken care of all of the questions you had so far. Please let me know if you require further assistance regarding the clearing of the ultraGrid.
Setting the ultragrid.datasource = null
works for me. I am going to be resetting the datasource everytime a user try to search for data. i just got to reset the group by property on the column i want to group by in the initialize lout event of the ultragrid
Then also when i call the the logic below, it completer removes my grouping, so im guess i have to set everything in the initialize layout of the grid event, because it removes all of my default properties
'Set .DataSource = Nothing' - Set the UltraWinGrid .DataSource property to Nothing: UltraGrid1.DataSource = Nothing UltraGrid1.ResetDisplayLayout() UltraGrid1.Layouts.Clear(
I understand. I recommend visiting our Online Help Documentations, which can be found here. This page provides online help docs for all of the NetAdvantage products we have.
Please feel free to contact us if you have additional questions regarding his matter.
'Set .DataSource = Nothing' - Set the UltraWinGrid .DataSource property to Nothing:
'Clear UltraGrid' - Clear the UltraWinGrid by setting the .DataSource to Nothing, Resetting the DisplayLayout, and clearing the Layouts collection:
How to get access to the Nothing properpty, or Nothing i the samething as null.