In my radgird I have allowed ClientSettings for AllowColumnsReorder="True" AllowDragToGroup="True". One of my column allows only to reorder and no grouping is allowed in that column. And the second column I have both reorder and grouping is allowed. Now the problem is that in both columns tooltip it shows "Drag to group or reorder". I only want in th efirst column tootip to show "Drag to reorder" and the second one ""Drag to group or reorder".
Thanks.
<
telerik:GridBoundColumn
DataField
=
"ProductName"
HeaderText
=
"ProductName"
SortExpression
=
"ProductName"
UniqueName
=
"ProductName"
ReadOnly
=
"True"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
ShowFilterIcon
=
"false"
FilterControlWidth
=
"260px"
HeaderStyle-Width
=
"280px"
ItemStyle-Wrap
=
"true"
FilterDelay
=
"4000"
Groupable
=
"false"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"ManufacturerName"
HeaderText
=
"ManufacturerName"
SortExpression
=
"ManufacturerName"
UniqueName
=
"ManufacturerName"
ReadOnly
=
"True"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
ShowFilterIcon
=
"false"
FilterControlWidth
=
"110px"
HeaderStyle-Width
=
"130px"
ItemStyle-Wrap
=
"false"
FilterDelay
=
"4000"
>
</
telerik:GridBoundColumn
>
I also did some testing by applying the following:
1)
RadGrid.ClientSettings.ClientMessages.DragToGroupOrReorder = "drag to reorder";
But the problem in this one was both the columns tootip was showing "drag to reorder"
2) I did not see any changes in the tooltip at all. It was still showing ""Drag to group or reorder"
protected void RadGrid_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridHeaderItem)
{
GridHeaderItem header = (GridHeaderItem)e.Item;
header["ProductName"].ToolTip = "Drag to reorder";
}
}
Thanks.