Hi there,
trying to hide the grid header completely (.k-grid-header) via a custom directive, but some how the k-grid-header is not available when the directive compiles. what could be the reason? and clues guys?
trying to hide the grid header completely (.k-grid-header) via a custom directive, but some how the k-grid-header is not available when the directive compiles. what could be the reason? and clues guys?
app.directive(
'ngHideGridHeader'
,
function
($parse) {
return
function
(scope, element, attrs) {
$(element).find(
".k-grid-header"
).hide();
}
});
<
div
kendo-grid
=
"grid"
k-options
=
"gridOptions"
ng-hide-grid-header></
div
>