showDropDown

Posted by: grapecity on 17 October 2017, 8:36 am EST

    • Post Options:
    • Link

    Posted 17 October 2017, 8:36 am EST

    Is there a way where I can selectively render showDropDowns in individual cell instead of the entire column. I have a grid with more than 52 columns and more than 40 of these 52 will require dropdown combobox. If showDorpDown is enabled, the page looks too crowded with arrow all over places. If I can enable showDropDown on a single cell when it is selected/gotFocus, that will make the page look much cleaner. Thank you very much.

    Below is some examples of what I see how showDropDown are enabled.

  • Posted 17 October 2017, 5:17 pm EST

    You will need to render all the DropDown though but you can set the Visible Property on the DataMap for these cells using the item formatter and therefore only DataMap only when clicked and hide when then are out of focus. Please note that using ItemFormatter has a computation cost as it would need to run for all cells in the grid and it may lead to Performance issues.

    Let me know if you are still facing issues.

    Thanks,

    Abhishek

  • Posted 18 October 2017, 1:05 am EST

    Would you please give me a sample code of how to set showDropDown by cell instead of column? Thank you sir very much.

  • Posted 19 October 2017, 4:27 am EST

    Hi Abhishek,

    Have you gotten a chance to look into this one sir? Thank you sir very much.

  • Posted 22 October 2017, 9:18 pm EST

    Hi Hoang,

    Here is the demo sample(http://jsfiddle.net/mkgupta911/8brL80r8/58/) for the same, but it will increase performance issue since itemFormatter will trigger each time.

    ~Manish

  • Posted 23 October 2017, 9:07 am EST

    Thank you Manish very much.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels