1 Reply Latest reply on Jul 26, 2011 12:02 PM by TejasJani123

    lockedColumnCount horizontalScrollBar begins at first column

    iamcootis Level 1

      I have an advanced Datagrid that looks like this:

       

      <mx:AdvancedDataGrid id="grid" lockedColumnCount = "3" left="3" right="3" bottom="4" dataProvider="{stuff}" >
                          <mx:groupedColumns>
                              <mx:AdvancedDataGridColumn headerText="{hello}" dataField="tag" width="118" />
                              <mx:AdvancedDataGridColumn headerText="{hi}" dataField="model" width="110"/>
                              <mx:AdvancedDataGridColumnGroup headerText="{group}">   
                                  <mx:AdvancedDataGridColumn headerText="{morestuff}" dataField="status" width="112"/>
                                  <mx:AdvancedDataGridColumn headerText="{header}" dataField="template" width="96"/>
                                  <mx:AdvancedDataGridColumn headerText="{wee}" dataField="identity" width="174"/>
                              </mx:AdvancedDataGridColumnGroup>   
                              <mx:AdvancedDataGridColumn headerText="{hie}" dataField="host" width="96"/>
                              <mx:AdvancedDataGridColumn headerText="{things}" dataField="IP" width="96"/>
                              <mx:AdvancedDataGridColumn headerText="{otherthings}" dataField="computer" width="94"/>
                              <mx:AdvancedDataGridColumn headerText="{yellow}" dataField="State" width="78"/>
                              <mx:AdvancedDataGridColumn headerText="{blue}" dataField="num" width="54"/>
                              <mx:AdvancedDataGridColumn headerText="{green}" dataField="Config"/>
                          </mx:groupedColumns>
                      </mx:AdvancedDataGrid>

       

      The lockedColumnCount works by not allowing the scroll bar to scroll the first 3 columns, but the scroll bar does begin at the first column so it appears that it could scroll all columns. How could I also have the horizonalScrollBar start at the 3rd column where the break occurs?