Changing direction of page to rtl which contain dhtmlxGrid !

Hi,



I have problem with displaying dhtmlxGrid in my page, while I am changing direction of the page to rtl, it shows the headers and contents of grid misplaced. Actually I want to use it for a local language which the direction of page must be Right to Left.



So if I set direction of page to rtl and then I put the grid in a Div which its direction has set to ltr, it shows properly but I have to re-order all the columns of grid, So I want to find a solution for re-ordering the columns.



Please kindly let me know the solution.



Thanks,



Abozar


Hello,


it’s possible to use moveColumn method to change position of a certain column dhtmlx.com/dhxdocs/doku.php? … s_creation

Hi,
It is not doing well. When you change the body direction rtl grids does not shows good. An empty space is added as a first column! By using this methods nothing changes.
What can I do?

If you are using dhtmlxSuite it has rtl extension for all dhtmlx component and sample of usage. You need to call something like

mygrid.setRTL(true);

before mygrid.init