Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Reg: Menu Items are not displaying completely in Arabic(RTL) mode

$
0
0
Hi,

Please find the attachment. We are using isc.Menu. It is working fine in English mode. But not working properly in Arabic mode.

1)Menu Items are not displaying properly. It looks like displaying some content and after that it is hidden or cut to some length. could you please investigate on the same.

2) Is there any way to hide and display the menu items depends on some conditions.

Please find the below code for menu creation:

Code:


isc.Menu.create({
        ID: "menuItemsApp",
        autoDraw: false,
        showShadow: true,
        shadowDepth: 10,
        data: [
       
                {
                        name:'menuItemMenu', title: '<fmt:message key="title.document.itemIssue"/>',
                        click:function(){
                                loadTabData(4);
                        }
                },
                {
                        name:'menuItemReports', title: '<fmt:message key="title.document.requisition"/>',
                        click:function(){
                                loadTabData(7);
                        }
                },               
       
                {
                        name:'menuItemRoleAccess', title: '<fmt:message key="title.document.purchaseRequest"/>',
                        click:function(){
                                loadTabData(20);
                        }
                },
               
                {
                        name:'menuItemMenu', title: '<fmt:message key="title.nondocument.products"/>',
                        click:function(){
                                //loadTabData(1);
                        }
                }               
/*,
                {isSeparator: true},
                {
                        title: "Windows",
                        submenu:
                        [
                                {name:'menuSubItem1', title: "data.xml", pagePath:'helloOne.jsp'},
                                {name:'menuSubItem2', title: "Component Guide.doc"},
                                {name:'menuSubItem3', title: "SmartClient.doc"},
                                {title: "AJAX.doc"}
                        ]
                }*/
        ]
});


isc.Menu.create({
        ID: "menuItemsConfiguration",
        autoDraw: false,
        showShadow: true,
        shadowDepth: 10,
        data: [
       
                {
                        title: '<fmt:message key="title.nondocument.users"/>',
                        click:function(){
                                loadTabData(19);
                        }
                },
                {
                        title: '<fmt:message key="title.nondocument.permissions"/>',
                        click:function(){
                                loadTabData(18);
                        }
                },               
       
                {
                        title: '<fmt:message key="title.nondocument.actions"/>',
                        click:function(){
                                loadTabData(16);
                        }
                },

                {
                        title: '<fmt:message key="title.nondocument.documents"/>',
                        click:function(){
                                loadTabData(15);
                        }
                },

                {
                        title: '<fmt:message key="title.nondocument.statuses"/>',
                        click:function(){
                                loadTabData(14);
                        }
                },

                {
                        title: '<fmt:message key="title.nondocument.roles"/>',
                        click:function(){
                                loadTabData(12);
                        }
                }
        ]
});

Thanks in advance

Attached Images
File Type: png Title Arabic.png (38.9 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles