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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set InternalColumn Format before data binding

Thread ID:





75832 Aug 11,2008 10:24 PM UTC Aug 12,2008 11:25 AM UTC WinForms 1
Tags: GridControl
Robert Avery
Asked On August 11, 2008 10:24 PM UTC

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?


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

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.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon