jQuery UI Widgets Forums Grid comboxwidth inside grid

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • comboxwidth inside grid #49644

    rani
    Participant

    hello,

    i have combobox column inside grid
    I need to increase the combobox width based on combox items width when i click the that cell

    ex: I have 4 items in combobox.
    1. gft entertainment
    2. Disney abc cable network
    3. Disney abc cable network group mastering
    4. Disney abc cable network group _ Intel servicing

    in the above 4 items 4th item is more charcters.
    so the combobox width should be increased based on the values width.

    please suggest me

    regards,
    rani

    comboxwidth inside grid #49651

    Dimitar
    Participant

    Hello rani,

    You should set the dropDownWidth property of your combobox editor to a suitable value when you initialize it in the createeditor callback function.

    Best Regards,
    Dimitar

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

    comboxwidth inside grid #49659

    rani
    Participant

    Hello Dimitar,

    ya i used this dropDownWidth, but i want to set the width from the dropdown values (maximum characters) width. please reply

    regards,
    rani

    comboxwidth inside grid #49680

    Dimitar
    Participant

    Hi rani,

    Unfortunately, the dropdown width cannot be automatically set to the width of the longest item.

    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.