Is there virtual mode for the grid?
I mean, is it possible that the grid will load rows on user demand.
So not all the rows will be loaded at once, but only the rows that the user sees will be loaded.
The samples install with NetAdvantage, although I beleive the installer gives you the option not to install them.
If you can't find them, I recommend that you Submit an incident to Infragistics Developer Support and they should be able to help you.
Thanks. that answered my question.
You mentioned samples.
We installed Infragistics, and also have downloded the help.
But we dont have samples.
Can we download the samples? Or how can we get them?
I'm sorry, but your posts seem to be getting less and less clear. What is UltraBindingSource? I am not familiar with any such class.
Do you mean UltraDataSource?
If so, then what is your question? There are samples included with NetAdvantage of using the UltraDataSource with a grid in on-demand mode. The sample is called the Million Rows sample. The sample doesn't get the data from a datatable, it just generates random numbers. In fact, using a DataTable is somewhat pointless, since a DataTable itself does not have any good way to load data on demand. And if you are loading all of the data into the DataTable, anyway, you might as well just bind it directly to the grid.
I have a datatable with data. I want to use an ultrabindingsource as a source for the grid.
I want to set the datatable as a source to the ultrabindingsource,
And so to be able to load on demand, the data in the datatable,
All this in runtime.
I do not understand what you mean. There is no such limitation. You can create columns and rows in the UltraDataSource at design-time using it's designer, or at run-time in code.
A BindingSource and a DataTable have nothing to do with it - although you can use the UltraDataSource as the data source of a BindingSource if you like.