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

Databound Grid

Thread ID:





67901 Sep 4,2007 01:35 PM UTC Sep 5,2007 02:37 AM UTC WinForms 1
Tags: GridControl
Scott Griswold
Asked On September 4, 2007 01:35 PM UTC


I have three questions about the data bound grid:

1. In the standard grid control there is a setting to hide columns. I am interested in hiding the first column. Can this be done on the data bound grid?
2. When the grid is bound to a data source a new record appears at the bottom of the grid. Can this be removed?
3. Can the font of the display at the top of each column be different then the rest of the control?


Scott Griswold

Rajagopal [Syncfusion]
Replied On September 5, 2007 02:37 AM UTC

Hi Scott,

Thanks for your interest in Syncfusion Products.

1. The below can be used to hide columns in GridDataBoundGrid.

this.gridDataBoundGrid1.Model.HideCols[1] = true;

2. To avoid the addnew row at the bottom, set the below property setting

this.gridDataBoundGrid1.EnableAddNew = false;

3. To change the font/display appearance for the column header cells, the PrepareViewStyleInfo event has to be handled. Refer the sample for more details.

Please refer the sample below that helps in doing the above mentioned tasks.

Let me know if you have any other questions.



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