1 Reply Latest reply on Mar 23, 2012 4:10 AM by nikos101

    Localization of headertext in a datagrid


      Hi All,


      I'm trying to get the headertext of a datagrid to display in the correct language after i've changed the language.

      Every other label updates except the headertext. How can i force the headertext to update?


      <mx:Canvas width="100%" height="100%">
           <mx:DataGrid id="userList" left="10" right="10" top="10" dataProvider="{usersAC}" itemClick="itemSelected(event)">
                     <mx:DataGridColumn dataField="userName" headerText="{resourceManager.getString('Messages', 'title.loginname')}"/>
                     <mx:DataGridColumn dataField="firstName" headerText="{resourceManager.getString('Messages', 'title.firstname')}"/>
                     <mx:DataGridColumn dataField="lastName" headerText="{resourceManager.getString('Messages', 'title.lastname')}"/>