DHTML combo

I’ve added xml node which have key, value pair in grid


e1 = xmldoc.createElementNS(null,“cell”);

e1.setAttributeNS(null,“CatCode”, “emp001”);

n = xmldoc.createTextNode(“emp name”);

but if i say

gell.cells(rId,i).getValue(); ==> return “emp name” instead of “emp001”

how to get key (emp001)?

Grid doesn’t store unrecognized attributes from XML, only known one stored and can be accessed in some way.
To store additional data you can use “userdata” sections.

( also it is possible to write custom excell which will recognize|store custom attributes )