jQuery UI Widgets › Forums › TreeGrid › rtl tree grid problem
Tagged: indentation, jqxTreeGrid, right to left, RTL, Tree, tree grid
This topic contains 3 replies, has 2 voices, and was last updated by Dimitar 10 years, 8 months ago.
-
Authorrtl tree grid problem Posts
-
hello sir
when i set the rtl property , the tree identation doesnt appear
may you help me to fix that
Hello okasha,
As you can see in the demo Right to Left Layout, tree indentation is present when rtl is set to true. Do you experience any issues with the demo? Please provide us with an example which reproduces the reported beahviour. Make sure you are using the latest version of jQWidgets (3.3.0).
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/hello sir thank you for your reply
here is my code
$.ajax({ dataType: 'json', url: js_base_url+'/backend/pages/get_tree_json', cache: false, success: function (pages_json) { var pages=pages_json; alert ("pages"); var source = { dataType: "json", dataFields: [ { name: 'page_code', type: 'number' }, { name: 'page_parent', type: 'number' }, { name: 'page_title', type: 'string' } ], hierarchy: { keyDataField: { name: 'page_code' }, parentDataField: { name: 'page_parent' } }, id: 'page_code', localData: pages }; var dataAdapter = new $.jqx.dataAdapter(source); $("#treeGrid").jqxTreeGrid( { width: 1080, rtl:true, source: dataAdapter, sortable: true, theme:site_theme, ready: function() { $("#treeGrid").jqxTreeGrid('expandRow', '2'); }, columns: [ { text: 'كود الصفحة', dataField: 'page_code', width: 200, align: 'right', cellsAlign: 'right' }, { text: 'عنوان الصفحة', dataField: 'page_title', width: 200, align: 'right', cellsAlign: 'right' } ] }); }, error: function(jqXHR, textStatus, errorThrown) { } });
and i am using version 3.3
best regardsHi okasha,
Does this issue occur if rtl is set to false? Could you share an image of your tree grid (post a link to the image here)?
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.