I started searching this forum for implementation of virtual mode on an UltraWinGrid, and found various threads on this but nothing telling me the basics: how do you implement a virtual grid in the first place? Where do I start, what is the first thing I do? Would appreciate any help.
Thanks,
Hakim
See this blog entry for information on how the help file is laid out.
http://blogs.infragistics.com/blogs/tom_puglisi/archive/2008/03/26/netadvantage-help-table-of-contents-explanation.aspx
How-to's are located in the Developer's Guide section of the help.
The help file has built in search.
i search these forums pretty often for basic"How TO' questions, your help really doesn't tackle how to very well... and occasionally I find these pointers (like the message above) to these great online help files... Do you have index of those files (the one above that shows how to implement on demand is an example)
They dont seem to be in the help system (I've looked), you dont seem to have them here in the forums for search. A list would be really really great, or even better, an indexed, searchable "How To" section. I"m sure you guys get tired of basic how to questions.
Thanks
Jeff
If you are loading the grid on-demand through an UltraDataSource and the UltraDataSource is on the same UI thread with the grid, then I can't see any reason why this would not work.You would just have to be careful that when the user expands a row or scrolls the grid that the code in the UltraDataSource doesn't try to get data from a different thread without marshalling. But this seems like a good approach to me.
Thanks for your reply Mike.
I dont have much data but there are multiple threads manipulating the datatable data. Currently I am STA (running in sta) ing the datatable manipulation because it is bound to datagrid and UI updates can only happen in main thread. By doing this I am locking the entire datatable.
I would like to go with virtual mode where the grid is not directly connected to the datatable and multiple threads can go ahead and manipulate datatable by putting the critical section only at datarow level (not at datatable level) and yeild the cellvalues when the event request happens.
I also have summary calculations, sorting, group by etc (all the fancy ultrawingrid features).
I am about to implement this in wingrid 8.1 but would like to see if you saw any issues with multiple threads manipulating different datatable rows working in virtual mode (assuming I take care of thread safe manipulation of datatable rows)
I'm looking at the given links on virtual grids. Where to I hook the event "Load_Data_on_Demand_Load"?