jQWidgets Forums

jQuery UI Widgets Forums Grid jqxGrid Border Issue

Tagged: , ,

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • jqxGrid Border Issue #57424

    mohamedazher
    Participant

    Hi,

    There seems to be an issue with the grid border on the right. When you add more columns, say 6-7 columns to a grid, there is some space between the grid’s body and its border on the right.

    This problem is not visible when the number of columns are fewer than 6.

    Please check the fiddle below.

    http://jsfiddle.net/mohamedazher/3m476/5/

    This space between the grid and the border seems to increase as you increase the columns and it looks pretty obvious beyond a point (when you have more columns). It looks as if something is broken.

    Also the wider the screen, the more you can see the effect.

    Regards,
    Mohamed

    jqxGrid Border Issue #57425

    Peter Stoev
    Keymaster

    Hi Mohamed,

    Yes, you missed to set the width of your columns. I suggest you to do it.

    Best Regards,
    Peter Stoev

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

    jqxGrid Border Issue #57427

    mohamedazher
    Participant

    Hi Peter,

    Thanks for the super quick reply! 🙂

    Unfortunately, my requirement is to have a fluid width to the grid. i.e. it has to resize on window resize. Also my table columns are dynamically generated so they do not have any width. I can at most set a single width to all the columns.

    I tried setting all of them to auto (updated the fiddle) but it seems to break again if i do that.

    Is there a way i can have auto width to all columns and solve this issue?

    Thanks Again,
    Mohamed Azher

    jqxGrid Border Issue #57428

    mohamedazher
    Participant

    Hi,

    I just set 100/no_of_columns % as width to all the columns. This solved my issue.

    Thanks again for your timely help.

    Regards,
    Mohamed Azher

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

You must be logged in to reply to this topic.