This is a migrated thread and some comments may be shown as answers.

AllowAutomaticInsert Header

3 Answers 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 15 May 2008, 09:56 AM
hi

I have set AllowAutomaticInsert and is working fine but I do not see any header title? How to? Thanks

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 May 2008, 11:27 AM
Hi,

Try setting the HeaerText property for each Column as shown below.

ASPX:
 <telerik:GridBoundColumn DataField="ProductName"    HeaderText="ProductName" UniqueName="ProductName"
        </telerik:GridBoundColumn>                          

Thanks
Shinu.
0
L
Top achievements
Rank 1
answered on 15 May 2008, 01:57 PM
hi

sorry if i place the question too vaguely. I do see header text for each column except the columns that has the edit/delete.

If you look at the example http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/AllEditableColumns/DefaultCS.aspx

The edit and delete do not have header text. How can i have header text for the edit and delete column? Thanks
0
Accepted
Sebastian
Telerik team
answered on 15 May 2008, 02:11 PM
Hello Lui,

You merely need to set the HeaderText property for the GridEditCommandColumn/GridButtonColumn with CommandName = "Delete". Thus it will be displayed in the corresponding column header.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
L
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
L
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or