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

No entries message

Thread ID:





78257 Dec 5,2008 12:36 PM UTC Dec 8,2008 08:27 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On December 5, 2008 12:36 PM UTC

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 08:27 AM UTC

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.

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