Hi,
I want to integrate Kendo grid with bootstrap responsive behavior. Below is my code, it did apply to the records column but did not apply to the column header.
In the below example I want the middle name column to be hidden when the screen size is Medium (Bootstrap breaks), the below code does make the columns invisible in case of resolution not large but it does not apply on the column header (Middle Name). Please let me know how I can achieve this.
HTML-
<div kendo-grid k-data-source="someDataSource" k-selectable="'row'"
k-pageable='{ "pageSize": 10, "refresh": true, "pageSizes": false }'
k-sortable="true", k-groupable="true", k-filterable="true" k-columns="gridColumns">
</div>
JS -
$scope.gridColumns = [
{ "field": "firstName", sortable: true, "title": "First Name" },
{ "field": "lastName", sortable: false, "title": "Last Name" },
{ "field": "middleName", sortable: false, "title": "Middle Name",
attributes: {
"class": "hidden-md visible-lg"
} }
];
I want to integrate Kendo grid with bootstrap responsive behavior. Below is my code, it did apply to the records column but did not apply to the column header.
In the below example I want the middle name column to be hidden when the screen size is Medium (Bootstrap breaks), the below code does make the columns invisible in case of resolution not large but it does not apply on the column header (Middle Name). Please let me know how I can achieve this.
HTML-
<div kendo-grid k-data-source="someDataSource" k-selectable="'row'"
k-pageable='{ "pageSize": 10, "refresh": true, "pageSizes": false }'
k-sortable="true", k-groupable="true", k-filterable="true" k-columns="gridColumns">
</div>
JS -
$scope.gridColumns = [
{ "field": "firstName", sortable: true, "title": "First Name" },
{ "field": "lastName", sortable: false, "title": "Last Name" },
{ "field": "middleName", sortable: false, "title": "Middle Name",
attributes: {
"class": "hidden-md visible-lg"
} }
];