Help! I am having some trouble with a data bound grid that uses a template whose generated html has <a> tags that need jquery click handlers.
in essence
$('mygrid').kendoGrid({....});
$('.classWithInGridTemplateRowOutput').click(function(){...});
clicks installed when datasource is array data, and not installed when datasource is remote xml
In the following fiddle the array based data bound grid appears as I want _and_ the click handlers are never installed.
http://jsfiddle.net/RichardAD/U2pwe/
The fiddle was tweaked so the grid has remote XML data binding. Tweaked page is on another site because I don't know how to use jsfiddle echo/xml for the scenario.
In this case the click handlers are NOT installed! ?
http://devenezia.com/kendo/clickProblem.html
I am speculating there is a time delay incurred loading the remote data so the DOM is not updated at the time the desired selectors are used.
Thanks,
Richard
in essence
$('mygrid').kendoGrid({....});
$('.classWithInGridTemplateRowOutput').click(function(){...});
clicks installed when datasource is array data, and not installed when datasource is remote xml
In the following fiddle the array based data bound grid appears as I want _and_ the click handlers are never installed.
http://jsfiddle.net/RichardAD/U2pwe/
The fiddle was tweaked so the grid has remote XML data binding. Tweaked page is on another site because I don't know how to use jsfiddle echo/xml for the scenario.
In this case the click handlers are NOT installed! ?
http://devenezia.com/kendo/clickProblem.html
I am speculating there is a time delay incurred loading the remote data so the DOM is not updated at the time the desired selectors are used.
Thanks,
Richard