ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: dbadmin on December 31, 2014, 02:25:10 am
-
Hi,
I'm getting an error "uncaught exception: dataIndx NA" after collapsing nested grid (no error occurs when I open it up).
It seems to only happen when there's more than 1 row in a nested grid.
I can't seem to find any difference from example code, so I was wondering if it may ring any bell and you have some suggestions?
Thanks!
-
Any ideas?
-
check dataIndx and assign them correctly.
-
I did check all the data indexes, and they're all fine.
I believe the problem may be related to pager. If there's only one page of results (or if I don't have pageModel specified at all) and I open up first row, I'll get behavior described in
http://paramquery.com/forum/index.php?topic=980.msg4844#msg4844
Could you direct me to an example with remote paging and only one page of results that works?
I couldn't find this scenario in demos section.
Thanks
-
Hi,
Could you comment on this?
I have spent several days trying to figure this out and it still doesn't work.
If it's a known issue, please let me know.
Thanks.
-
There is no known issue; it couldn't be reproduced so far.
The referenced post discusses about scrolling problem, user couldn't reproduce the "dataIndx NA" error in the jsfiddle.
Please share a jsfiddle of your implementation so that I may have a look.
-
Hi,
Here's my code http://jsfiddle.net/890wakod/
Please see LoadGrid function.
I either get the dataIndx error when collapsing the detail grid, or no error but the detail grid is collapsed incorrectly.
I'm not 100% sure, but it looks like these behavior is happening when there's only 1 page of results (like 2 records are present in the main grid, for example)
Thanks
-
jsfiddle is incomplete and not functioning.
Please complete the code in HTML pane and css pane.
Also don't forget to include external dependencies. Take this jsfiddle as a base http://jsfiddle.net/b6b710mz/9/ as it includes the dependencies.
-
Could you confirm, which version of pq grid is it using? is it the same as mine -- v 2.2.0 ?
Thanks!
-
That is the latest version 2.3.0
-
Is there a pq grid link you can share for v 2.2.0 , so I can use it in my jsFiddle?
-
So I started to modify the fiddle you provided and I"m not able to get a collapsible column working. If I comment it out, grid loads. If it's not commented out, the main grid looks empty.
http://jsfiddle.net/b6b710mz/39/
Any suggestions?
-
detailModel is not part of dataModel (obj.dataModel ) but main object ( obj ).
-
I modified the code but it doesn't seem to help
http://jsfiddle.net/b6b710mz/42/
-
Anything else doesn't look correct to you?
I couldn't find a demo with local detail model, so not sure if I'm missing something.
Thanks!
-
Hi,
It's been more than a week and I didn't hear back from you.
Could you comment on this?
Thanks
-
Sorry your subscription has been long expired; we are not able to actively provide support to you.