Quick update —
When I removed the formatters, the row is succesfully added, but the 'start' and 'end' columns corresponding with time.start and time.end are empty.
It looks like the problem may be with hierarchical > 1 depth column mappings and addRowData?
Hi Toucan,
Here is the code I'm using to keep track of things:
Thanks Tony 🙂
Are there any plans to automate this in future versions of jqGrid?
Best,
Keith
Hi Tony,
The above still returns “[]” for me in 3.5.6. Does it work for you?
Best,
Keith
Hi Tony,
I am also trying to achieve the same effect of preserving row selection across pages. I tried following you above suggestion with something like:
onPaging: function () {
I ran into the same problem recently. The problem turned out to be that I was attempting to use a DIV instead of a TABLE for the datagrid container. Using a table instead resolved the issue, e.g.
|
1 |
<span class="comment"><!-- Grid --></span><br /> <<span class="start-tag">table</span><span class="attribute-name"> id</span>=<span class="attribute-value">"search-results-datagrid" </span><span class="attribute-name">class</span>=<span class="attribute-value">"scroll" </span><span class="attribute-name">cellpadding</span>=<span class="attribute-value">"0" </span><span class="attribute-name">cellspacing</span>=<span class="attribute-value">"0"</span>></<span class="end-tag">table</span>> <br /> <br /> <span class="comment"><!-- Pager --></span><br /> <<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"search-results-pager" </span><span class="attribute-name">class</span>=<span class="attribute-value">"scroll" </span><span class="attribute-name">style</span>=<span class="attribute-value">"text-align:center;"</span>></<span class="end-tag">div</span>> <br /><br />Best,<br />Keith<br /> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top