Hide the Column Header in a Data Grid
- Last UpdatedJun 25, 2024
- 1 minute read
To hide the column header in a data grid, write the following script in ODB event of the grid:
var dataSource = skelta.grid.getDataSource(e.sender);
if(dataSource === "Job")
{
//this hides the columns header of Job grid
e.sender.thead.closest(".k-grid-header").hide();
}