And the answer to the variable depth of the list problem is (duh) that
the surrounding datatable must be set with:

        variableRowHeight="true"        

4 hours to find, 4 seconds to fix.  Sigh.



--- In [email protected], "dorsetwest" <[EMAIL PROTECTED]> wrote:
>
> Folks ...
> 
> I'm implementing a master/detail view in a datagrid column by means of
> a custom component that extends List and uses a programmatic
> listitemrenderer that renders as many rows in the list as the detail
> for that column requires.
> 
> It works well ... up to a point.  Seems that the first row's list
> depth locks in the depth for all succeeding rows.
> 
> I remember reading something in Alex's notes on itemRenderers that
> suggests they are reused extensively.  Therefore I've taken care to
> set rowCount carefully each time rendering takes place.  However while
> the debugger shows the itemRenderer setting its parent's rowCount
> correctly, the setting has no effect on the visual display, still
> locked at the first row's detail depth.
> 
> Anybody have any thoughts as to why this might be happening, and how
> the rowCount of a list in a column can be varied on a per column or
> per row basis?
> 
> Also interested in other approaches; tempted by advancedDataGrid, but
> seems very difficult to get working at all (due to some of the
> classloading order bugs) and has a pretty scary list of internal
> issues.  Ideas?
> 
> R.
>


Reply via email to