I have pagination in a table tree grid.
In pagination I am showing 4 nodes per page.Under each node there may be multiple rows.
Lets say there are 5 nodes.This means there are 2 pages.
The problem is…that in this scenario when the grid is loaded it gives a javascript alert saying…
“Not unique ID” 32,row skipped
…and so on for all the subsequent rows.
the row no 32 is the first row id of the LAST node on current page.
This means on page 2 the node automatically assumes an expansion.
All nodes need to be in closed mode at all times until and unless user clicks the node.
I am attaching the source code in question for error demo.
Just load the html page and see the error alert.
I need a solution quickly for this one.If there is a solution pl. let me know asap.
If this is something that is not yet implemented into the grid - pls. let me know.
Since there is no way to attach the source code I am pasting it below.
treeGrid_xml.html
--------------------------
TreeGrid lines
TreeGrid lines
|
|
|
|
|
|
--------------------------------------------------------------------------------------------------
src.xml
<?xml version="1.0" encoding="UTF-8"?>
col1
col2
col3
col4
col5
col6
col7
col8
col9
col10
col11
col12
col13
col14
col15
col16
col17
col18
col19
col20
col21
col22
col23
g1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
g2
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1
A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A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