0 Replies Latest reply on Mar 1, 2010 12:19 AM by bornaeon

    RTL Direction in DataGrid columns with Gumbo...

    bornaeon Level 1

      Hi everybody

      I have a datagrid, that I want to set it's columns with "Right-to-Left" Direction.

      But I think that I can't use a spark tag in mx one. my code is here:


              

      <mx:DataGridColumn headerText="SomeName" dataField="SomeName">              
          <mx:itemRenderer>
              <fx:Component>
                  <s:RichText>
                      <s:TextFlow direction="rtl">
                          The RTL Text
                      </s:TextFlow>
                  </s:RichText>          
              </fx:Component>
          </mx:itemRenderer>
      </mx:DataGridColumn>



      and I have this error:

      Error #1034: Type Coercion failed: cannot convert WST_inlineComponent1@1a3030a1 to mx.controls.listClasses.IListItemRenderer


      Can someone help me please...

      TanQ