Jump to content

problem with add class for ul


jozef

Recommended Posts

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?

Link to comment
Share on other sites

Hi,

 

would you please help me.

 

1. CustomCSS:

.testClass2 {
    direction: rtl;
}

2. UniComboBox -> ClientEvents -> .....

function beforeInit(sender, config)
{
    config.listConfig={
        cls: "testClass2"
    };
}

Best regards,

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...