hi,

   this is my 2nd mail to the groups. iam trying to build a data grid 
such that when i expand the tree nodes my datagrid should display 
rows for the visible nodes and when the tree collapses the 
corresponding rows in datagrid must become invisible.


           my xml looks something like this

<Funnel>
                        <Month>
                        <Capacity>101</Capacity>
                        <Allocation>102</Allocation>
                        <ForeCast>103</ForeCast>
                        </Month>
                        <Month>
                        <Capacity>201</Capacity>
                        <Allocation>202</Allocation>
                        <ForeCast>203</ForeCast>
                        </Month>
                                <wheelhead1>
                                <Month>
                                <Capacity>111</Capacity>
                                <Allocation>112</Allocation>
                                <ForeCast>113</ForeCast>
                                </Month>
                                <well1>
                                        <Month>
                                        <Capacity>1110</Capacity>
                                        <Allocation>1120</Allocation>
                                        <ForeCast>1130</ForeCast>
                                        </Month>
                                </well1>


my datagrid looks like this

          month1                          month2                month3
        capacity allocatin forecast  capacity allocatin forecast 
(tree)               (datagrid value)
funnel   val    val     val         val     val       val
    whl1  val   val     val         val     val       val
      w1   val   val    val         val      val       val
      w2   ..                        ..
    wh2    val 
      w1   ..  
      w2   val


since <month> contains the reqd data at any level. i want to change 
my dataprovider for every record  like this

dataProvider="{pipedata.Month}   
dataProvider="{pipedata.wheelhead1.Month}"
dataProvider="{pipedata.wheelhead1.well1.Month}


could anyone advise me on dynamically changing the dataprovider.

                thanks in advance






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to