jQuery UI Widgets Forums TreeGrid rtl tree grid problem

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 9 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • rtl tree grid problem #55816

    okasha
    Participant

    hello sir

    when i set the rtl property , the tree identation doesnt appear

    may you help me to fix that

    rtl tree grid problem #55818

    Dimitar
    Participant

    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,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    rtl tree grid problem #55819

    okasha
    Participant

    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 regards

    rtl tree grid problem #55822

    Dimitar
    Participant

    Hi 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,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.