Hi, I have a custom gridcolumn inherited from GridBoundColumn. All columns are sortable in my grid except this.
I couldn't find why. Could you help me?
I couldn't find why. Could you help me?
Public
Class
GridActivePassiveColumn
Inherits
GridBoundColumn
...
End
Class
<%--Sorting doesn't work--%>
<
myCompany:GridActivePassiveColumn
HeaderText
=
"Free of Charge"
DataField
=
"FlFoc"
SortExpression
=
"FlFoc"
>
<
HeaderStyle
Width
=
"35px"
/>
<
ItemStyle
HorizontalAlign
=
"Center"
/>
</
myCompany:GridActivePassiveColumn
>
<%--Sorting works--%>
<
telerik:GridBoundColumn
HeaderText
=
"Free of Charge"
DataField
=
"FlFoc"
SortExpression
=
"FlFoc"
>
<
HeaderStyle
Width
=
"35px"
/>
<
ItemStyle
HorizontalAlign
=
"Center"
/>
</
telerik:GridBoundColumn
>