I've looked at this API, I only see expand or extend attributes that concrens expanding or collapsing of tree children. If I set the MaxHeight to one line - I don't see how I can expand the row onClick.
I have an example of a a very simple tree with one column and one row. The column is non editable (CanEdit="2"), MaxHeight=17.
The html file:
[HTML]<html>
<head>
<script src="../../Grid/GridE.js"> </script>
</head>
<body>
<div style="WIDTH:100%;HEIGHT:90%">
<bdo Layout_Url="myFirstDef.xml" Data_Url="myFirstData.xml"></bdo>
</div>
</body>
</html>
[/HTML]
The configuration (layout) file:
- <?xml version="1.0"?>
-
<Grid>
-
<Cfg id='First'
-
VarHeight="1"
-
-
-
/>
-
-
<Cols>
-
-
<C Name='C' Type="Lines" CanEdit="2" Width="150"/>
-
-
</Cols>
-
-
-
<Def>
-
-
<D Name="R" MaxHeight="17"/>
-
</Def>
-
<Header
-
C="Date"
-
-
/>
-
-
</Grid>
-
Data file:
- <?xml version="1.0"?>
-
<Grid>
-
<Body>
-
<B>
-
<I id="c" C="aaaaaaaa bbbbbbbb ccccccccccc dddddddddd">
-
-
-
</I>
-
-
-
</B>
-
</Body>
-
</Grid>
It would be great if you could help me with that.