Is it possible to use the GDBG (or the grid control) in unbound way (i.e. me providing the data), but still having it visualy behave like it is bound (having the new row, edit marker etcetc)? I know I can bind it to a dummy table, but I was wondering if there is a better way.
ADAdministrator Syncfusion Team February 14, 2003 09:17 AM
You can bind the databound grid to any collection. It does not need to be a DataTable.
See the \Grid\Samples\DataBound\Hierarchical\CustomersVirt sample.
In that sample each row displays properties from the Customer class.
But if you have more "dynamic" requirements you could just implement the ITypedList and override its GetItemProperties method.
LKLyubomir Konstantinov February 15, 2003 02:30 AM
I know I can bind it to everything - already tested that scenario :) Basicaly what I am doing is providing multiple collections that are kept in sync thru a common server (along with locking/unlocking of elements), and the design specs require that I do not directly bind to the UI. I guess I'll just write a small binding 'shim' that implements ITypedList then :)
OT: I've evaluated every third party grid thats on the market, and yours is the best there is imho. I am definitely going to recommend it to our management. Thank you and keep up the good work.