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.

No entries message

Thread ID:





78257 Dec 5,2008 07:36 AM Dec 8,2008 03:27 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On December 5, 2008 07:36 AM

Suppose we have a GridDataBoundGrid grid with empty data source. By default only column headers are displayed in this case. But is there any way to display some message like "No entries where found." under headers? (actually there is an option to create a user control with gird and label under it showing label when grid is empty and hiding otherwise. but what i need is to do this somehow by means of grid itself)

Thanks in advance

Jisha Joy [Syncfusion]
Replied On December 8, 2008 03:27 AM

Hi Andy,

You can have another columnHeader under the original columnheader and display the message there.

this.gridDataBoundGrid1.Model.Rows.HeaderCount = 2;
this.gridDataBoundGrid1.Model[1, 1].Text = "No Entries";

Please let me know if I misunderstood your requirement.



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.