I want to reset or clear the ultragrid by default.
How do you clear the ultra grid,
Hello Keith,
I will be happy to assist you with your question.
I recommend looking over the online Knowledge Base Article: KB01751, which can be found here.
Please let me know if you have additional questions regarding this matter.
Thanks, I know my problem, Im use to hitting f1 when you hover a particular item in the source and it brings up the msdn library documentation. If i hover anything dealing with infragistics, it brings up a search, but not the infragistics help library
Question to get to you guys library help documentation, whats the link or how to get to the help library easily, if i can get the documentation. I can solve all my problem. Infragistics has a million and one properties. lolololol So yeah not reading the documentation can be painful, trying to learn the controls without reading.
Hi Keith,
The grid displays the data that exists in it's data source. So if you want to clear the grid, you either have to set the DataSource to null, or remove all of the rows from the DataSource. There's no other way.
If you cannot remove the data from your DataSource, then you are going to have to set the DataSource to null and therefore lose state information like the selected rows, active rows, scroll position, etc.
You can use the Save/Load methods on the grid's DIsplayLayout to store band-level information like sorting and grouping and then restore it after you set the DataSource back.
I get an error saying you cannot remove a linkdataview from a layout collection
I have attached a small sample that demonstrates what Mike Saltzman mentioned in his previous post. Please run the attached sample and let me know if you have additional questions.
hi jose
i tried ur sample :
load data = 8 datas (dept id 0-7)
i add dept id 8, save.
load data from save, which should have 9 datas(0-8)
but still only shows 8 datas,like the original data
same like my problem, load 1st data= 5 rows,display to ultragrid.
load 2nd data=7 rows, but only shows in ultragrid :
5 rows with 2nd data's values
if u do opposite way:
load 1st data with 7 rows, displayed.ok.
load 2nd data with 5 rows, displayed :
7 rows = 5 rows with 2nd data's values and 2 empty rows.
???
tks
my bad, i tried for more data in C# using VS2010, and worked good.
but why it didnt work with progress openedge 11 ?
Hello,
According to our supported environments page found here, Progress OpenEdge 11 is not one of the supported environments for NetAvantage. Please view the support environments page to learn more.