jozef Posted September 26, 2017 Share Posted September 26, 2017 hi all when i add unilistbox on form, i add css class to it with this code: function beforerender(sender, eOpts) { sender.addClass('testClass'); } this code add testClass to table that holding ul, but i want add this class to ul tag immediately. any body can help me? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 26, 2017 Share Posted September 26, 2017 Hi, Which edition are you using ?! Best regards, Quote Link to comment Share on other sites More sharing options...
jozef Posted September 26, 2017 Author Share Posted September 26, 2017 ver 1.1386 trial edition Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 26, 2017 Share Posted September 26, 2017 Hi, First of all try to use the latest trial build 1 Quote Link to comment Share on other sites More sharing options...
jozef Posted September 26, 2017 Author Share Posted September 26, 2017 ok .I use this version: "uniGUI Complete Trial Edition 1.0.0 Build 1410" But the problem is still exist Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 26, 2017 Share Posted September 26, 2017 Hi, You can try this: .testClass .x-list-plain { } 1 Quote Link to comment Share on other sites More sharing options...
jozef Posted September 27, 2017 Author Share Posted September 27, 2017 i knew that this code works. in fact i want apply this style "direction:rtl" or "direction:ltr" to combo box items, but this code not working! Quote Link to comment Share on other sites More sharing options...
jozef Posted October 1, 2017 Author Share Posted October 1, 2017 would you please help me. Quote Link to comment Share on other sites More sharing options...
jozef Posted October 4, 2017 Author Share Posted October 4, 2017 would you please help me. Quote Link to comment Share on other sites More sharing options...
jozef Posted October 10, 2017 Author Share Posted October 10, 2017 would you please help me. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 10, 2017 Share Posted October 10, 2017 Hi, i knew that this code works. in fact i want apply this style "direction:rtl" or "direction:ltr" to combo box items, but this code not working! Can you clarify your question once again ?! Best regards, Quote Link to comment Share on other sites More sharing options...
jozef Posted October 11, 2017 Author Share Posted October 11, 2017 I want to change the item directions of some combobox with css classes to rtl and some others to ltr. Quote Link to comment Share on other sites More sharing options...
jozef Posted October 15, 2017 Author Share Posted October 15, 2017 would you please help me. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 15, 2017 Share Posted October 15, 2017 Hi, would you please help me. 1. CustomCSS: .testClass2 { direction: rtl; } 2. UniComboBox -> ClientEvents -> ..... function beforeInit(sender, config) { config.listConfig={ cls: "testClass2" }; } Best regards, 1 Quote Link to comment Share on other sites More sharing options...
mhmda Posted October 15, 2017 Share Posted October 15, 2017 Hi, When you add item add it as html and set 'direction' something like this: UniListBox1.Items.Add('<table style="width:100%;direction: rtl !important;"><tr><td>السلام عليكم</td></tr></table>'); 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.