1 Reply Latest reply on Jan 9, 2011 2:47 PM by Don Kerr

    Advanceddatagrid - How close am I

    wmkolcz Level 1

      Spent the last hour on the Adobe docs but can't get this to work (at all). I confirmed the data is there and correct but not working for my first ever attempt at an AdvancedDataGrid. Thanks!


      <mx:AdvancedDataGrid id="userDG" width="100%" height="100%" doubleClickEnabled="true" doubleClick="viewUser()">
                      <mx:GroupingCollection2 id="gc" source="{allUsers}">
                                  <mx:GroupingField name="orgName"/>
                      <mx:AdvancedDataGridColumn headerText="Organization" dataField="orgName" />
                      <mx:AdvancedDataGridColumn headerText="First Name" dataField="firstName" />
                      <mx:AdvancedDataGridColumn headerText="Last Name" dataField="lastName" />
                      <mx:AdvancedDataGridColumn headerText="Username" dataField="username" />
                      <mx:AdvancedDataGridColumn headerText="Role" dataField="role" width="100" />
                      <mx:AdvancedDataGridColumn headerText="Date Added" width="80" labelFunction="df.dateAddedDGUS" />




      Its supposed to group on the 'orgName' field.