We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

using GDBG in an unbound way

Hi, 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. Thanx, Lyubomir

2 Replies

AD Administrator 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. Stefan


LK Lyubomir Konstantinov February 15, 2003 02:30 AM

Hi Stefan, 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. Best Regards, Lyubomir

Loader.
Live Chat Icon For mobile
Up arrow icon