It seems I have a weird timing issue in bindingcomplete:
$('#jqxgrid').on("bindingcomplete", function (event) {
LocalizeStatus();
});
LocalizeStatus() is just creating a localizationobj and than adding it:
$("#jqxgrid").jqxGrid('localizestrings', localizationobj);
This issue I get in the grid (in virtual mode), is when
a) click to select a row
b) go back one page
When I do that, the page appears empty (full 10 row grid with titles, but no data). When I do the same, but move forward a page, everything is fine. When I remove LocalizeStatus(), everything is fine to.
I added some code to create a HTMl table using $(“#jqxWidget”).html(html) to the dataAdapter loadComplete event, and it shows all data is loaded, also when the page appears empty.
I did not have this when using the grid with virtualmode=false.
Any ideas, suggestions?
Don’t focus on LocalizeStatus, I did some other tests with code in the bindingcomplete event, and the same behavior is there with the other code, and LocalizeStatus commented out.
Thanks Pieter