I have a kendo UI grid with many columns. Columns that overflow can be viewed by scrolling horizontally. However, if you
1) select the column that is not initially displayed, and
2) filter in this column so that no rows match the filter criteria
the grid will no longer allow horizontal scrolling. The column on which the filter was applied cannot be cleaned.
How to show horizontal scrollbar after such filtering?
Here's the jsfiddle where you can see the problem
http://jsfiddle.net/9sxkG/1/
Here is the code:
var dataItem = {}; var columns = []; for (var i = 0; i < 20; i++) { dataItem['col' + i] = i; columns.push( { field: 'col' + i, width: 80, filterable: true, type: 'number' } ); } $("#grid").kendoGrid({ scrollable:true, columns: columns, filterable: true, dataSource: [dataItem] });
For example, go to column 18 and set the filter to 20 to see the problem.
source share