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.

Set InternalColumn Format before data binding

Thread ID:

Created:

Updated:

Platform:

Replies:

75832 Aug 11,2008 06:24 PM Aug 12,2008 07:25 AM Windows Forms 1
loading
Tags: GridControl
Robert Avery
Asked On August 11, 2008 06:24 PM

I have a situation with a DataBoundGrid where I set the datasource to an empty datatable object, which I am going to fill using a SQLDataAdapter at a later point in time.

I want to set the Binder.InternalColumns format to a particular format, but it would be nice if I could do it before the DataAdapter fills the DataTable. Is this possible?

Or would it be possible to detect the event when the datatable goes from having no data whatsoever to some data?

Thanks.


Nirmal Raja [Syncfusion]
Replied On August 12, 2008 07:25 AM

Hi Robert,

Thank you for your interest in Syncfusion product.

The Binder.InternalColumn format of the GridDataBoundGrid can be set only after the DataSource is assigned with the DataSet.
The properties of column is attained only after the column has some Datas.
The empty cell can be checked before the DataSet is assigned, by using the QueryCellInfo Event.
The event will check whether the cells contains any datas.

Let me know if you have any queries.

Regards,
Nirmal


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.

;