[General] Solution when header and item rows are misaligned

1 posts, 0 answers
  1. Michiel Peeters
    Michiel Peeters avatar
    46 posts
    Member since:
    Apr 2010

    Posted 14 Mar 2011 Link to this post


    In many occasions I had the problem that my grid is not rendered perfectly. Sometimes the headers and itemsrows are misaligned (so they don't show up under eachother) or that on the right side of the grid is a white little space rendered.


    This can be solved by using the following javascript snippet (the radgrid is getting redrawed without refreshing the page):

    <yourelement>.style.display = "";
    <yourelement>.style.display = "block";

    I thought lets share this because I think more people have the issues of misalignment etc. At least if fixes a lot of issues for me :).

    Best regards,
    Michiel Peeters
Back to Top