This is a migrated thread and some comments may be shown as answers.

[General] Solution when header and item rows are misaligned

0 Answers 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michiel Peeters
Top achievements
Rank 1
Michiel Peeters asked on 14 Mar 2011, 01:36 PM
Problem:

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.

Solution:

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

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Michiel Peeters
Top achievements
Rank 1
Share this question
or