Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Oct 30, 2008 23:27
open dhtmlx forum
DHX Layout: Every cell naming convention

Hi there,
The naming of every cell in the layout is by default "a", "b",..... or we can customize them ????
Answer posted by Support on Oct 31, 2008 02:00
Hello,

No you can't. But you can access layout's cells by index:
http://dhtmlx.com/docs/products/dhtmlxLayout/samples/conf/access.html?un=1225443788000
Answer posted by Tejas Shah on Oct 31, 2008 03:04
Hi there,
             Suppose I dont wanna give names like a, b, c ..... to the cell or item then is it possible to do so ?
Answer posted by Support on Oct 31, 2008 03:25
Layout's cells have names "a", "b", "c",... You can't change them whitout edition source code.
Attached objects can have any ids.
Answer posted by Tejas Shah on Nov 03, 2008 06:58
Hi there,
             This can be done with following. Just wanted to share. :-)
 
             dhxLayout.cells("a").setText("DHX Tree");
Answer posted by Support on Nov 03, 2008 07:12
Hello,

:-) Param you changed is a cells' text.