How to Remove Drop here a Column... from ASPxGridView with Example

In this blog I would like to give a clear explanation on How to remove "Drop here a Column..." from
ASPxGridView.




I want to remove Drop here a Column... from my ASPxGridView,
The only thing we need to do is EmptyHeaders=" " (space) in  SettingsText tag.

<SettingsText EmptyDataRow="No Definitions available" EmptyHeaders=" "/>

Example :

<dx:ASPxGridView ID="detailGrid" AutoGenerateColumns="true" runat="server" KeyFieldName="SCHEDULEID"  SettingsText-GroupPanel=" "  OnBeforePerformDataSelect="detailGrid_DataSelect"     Width="100%">

<SettingsText EmptyDataRow="No Definitions available" EmptyHeaders=" " />


</dx:ASPxGridView>


output :








Note : EmptyHeaders=" " should contain a space.

No comments:

Post a Comment