HI
I met a problem about Grid Sortable :
Grid setOptions sortable = false clear header template UNEXPECTEDLY.
What's going on ?? Why header template lost ?
How to avoid this situation or
how to disable sortable temporary and header template will not be cleared.
Sample Code :
View
columns.Bound(c => c.Column1)
.HeaderTemplate
(
@<text>
<input type='number' class='k-textbox' onfocus="class1.focusAllDays({ element: this })" style='width: 50px; font-size: small;' />
</text>
)
.Width(280);
Javascript
class1 :
focusAllDays: function(e)
{
var grid = get your grid;
//
grid.setOptions({ sortable: false });
},
Best regards
Chris