This question is locked. New answers and comments are not allowed.
Hi
I am using the ColumnContextMenu() feature to hide/show columns client side.
Is there a client side event when a use hides/shows a column? I would like to handle this event to save the column display settings in database for each user.
For example, I handle the column reorder/resize events as follows:
@(Html.Telerik().Grid<LitCollectionDB.Domain.Queries.RequestListDto>().
Name(Model.GridID).
.ClientEvents(e =>
e.OnColumnResize("onColumnResize").OnColumnReorder("onColumnReorder")
)
<script type="text/>
function onColumnResize(e) {
$.ajax({
....
});
}
function onColumnReorder(e) {
$.ajax({...
});
}
</script>
I am using the ColumnContextMenu() feature to hide/show columns client side.
Is there a client side event when a use hides/shows a column? I would like to handle this event to save the column display settings in database for each user.
For example, I handle the column reorder/resize events as follows:
@(Html.Telerik().Grid<LitCollectionDB.Domain.Queries.RequestListDto>().
Name(Model.GridID).
.ClientEvents(e =>
e.OnColumnResize("onColumnResize").OnColumnReorder("onColumnReorder")
)
<script type="text/>
function onColumnResize(e) {
$.ajax({
....
});
}
function onColumnReorder(e) {
$.ajax({...
});
}
</script>