Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Abozar on Jan 20, 2010 03:31
open dhtmlx forum
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
Answer posted by Alex (support) on Jan 20, 2010 05:13

Hello,

it's possible to use moveColumn method to change position of a certain column http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/16_rows_columns_manipulations/13_pro_grid_moveCol.html (PRO edition only)

Or you can create custom xml parser that will set cells data in the necessary order. Please see the article: http://www.dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:data_loading#custom_loading_types_creation