jQuery UI Widgets Forums Grid How can I remove unwanted style from grid cell?

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 9 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • dagle
    Participant

    You allow the ability to add a custom style class to a column’s cells which is great.

    However, you insert your own <div> with style settings AFTER my custom class which interferes with my style settings. In each cell you add the following:

    <div style="overflow: hidden; text-overflow: ellipsis; padding-bottom: 2px; text-align: left; margin-right: 2px; margin-left: 4px; margin-top: 4px;">data here</div>
    

    I want exactly NO margin or padding in my cells. How can I prevent your <div> from being added in each cell… or how can I override this behavior with my custom style class?


    Peter Stoev
    Keymaster

    Hi dagle,

    You can implement the cellsRenderer, too. It removes our HTML Element and replaces it with yours.

    Best Regards,
    Peter Stoev

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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.