jQuery UI Widgets Forums TreeGrid No data to display message not centered

This topic contains 4 replies, has 2 voices, and was last updated by  pete 10 years, 11 months ago.

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

  • pete
    Participant

    I’m using the tree grid and have noticed that the “No data to display” is not centered in the grid.
    I tracked it down the the .jqx-grid-table class having a style of “table-layout” as “fixed”. This seems to cause the table to ignore the width value for the rows underneath causing the centering of the “No data to display” to be offset. In Chrome, I can temporarily remove the table-layout style or setting it to auto fixes the issue.

    I’m also using a grid on the same website and it doesn’t have this issue.

    Could I also add to the wishlist in the future that the showemptyrow property (as in the grid) is added to the tree grid.

    Regards,
    Peter.


    Peter Stoev
    Keymaster

    Hi Peter,

    If you experience some issue, then please provide a sample which demonstrates it.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    pete
    Participant

    Hi Peter,

    I managed to replicate it and also realize what’s causing it. It takes into account the hidden columns which I believe it shouldn’t.
    Here’s a fiddle with two hidden columns that cause the text to be offset from the center.
    http://jsfiddle.net/254H7/

    Making the columns visible will correctly center the text.

    Regards,
    Peter.


    Peter Stoev
    Keymaster

    Hi Peter,

    Ok, thank you for the feedback. I will add a work item for that minor issue.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    No data to display message not centered #52163

    pete
    Participant

    Thanks for the fast turnaround and fixing this issue in 3.2.2.

    Regards,
    Peter.

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

You must be logged in to reply to this topic.