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.
Unfortunately, activation email could not send to your email. Please try again.

using GDBG in an unbound way

Thread ID:

Created:

Updated:

Platform:

Replies:

2812 Feb 14,2003 08:39 AM Feb 15,2003 02:30 AM Windows Forms 2
loading
Tags: GridControl
Lyubomir Konstantinov
Asked On February 14, 2003 08:39 AM

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

Administrator [Syncfusion]
Replied On 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

Lyubomir Konstantinov
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;