I'm using the kendo.angular integration. Here's our markup using the kendo-grid directive, which works great:
I need to initialize the grid with rows pre-selected. Is the code snippet below the only way to do this? Extracting data from the DOM with a jQuery selector seems kind of hacky.
Here are my environment details:
OS: OS X 10.9.3
Browser: Chrome 35.0.1916.114
jQuery: 2.1.1
KendoUI: 2014.1.528
Any help would be appreciated!
<
div
id
=
"buUsers"
kendo-grid
=
"buUsers"
data-k-options
=
"kendoGridOptionsBuUsers"
></
div
>
I need to initialize the grid with rows pre-selected. Is the code snippet below the only way to do this? Extracting data from the DOM with a jQuery selector seems kind of hacky.
$scope.buUsers.select(
"tr:eq("
+ (index + 1) +
")"
)
Here are my environment details:
OS: OS X 10.9.3
Browser: Chrome 35.0.1916.114
jQuery: 2.1.1
KendoUI: 2014.1.528
Any help would be appreciated!