Sunday, 15 January 2012

asp.net - Radgrid blank column space between grid and vertical scroll bar -



asp.net - Radgrid blank column space between grid and vertical scroll bar -

i using radgrid 4 frozen columns, when bind grid, shows (chrome) empty column on right end, , info misaligned 1 row right. in ie totally messed up!

<clientsettings allowcolumnsreorder="false" enablerowhoverstyle="false" allowdragtogroup="false" > <scrolling allowscroll="true" usestaticheaders="true" scrollheight="350px" frozencolumnscount="4"> </scrolling> <clientevents ongridcreated="gridcreated" /> <resizing allowcolumnresize="false" enablerealtimeresize="true" /> </clientsettings>

function:

function gridcreated(sender, args) { var scrollarea = sender.griddatadiv; var dataheight = sender.get_mastertableview().get_element().clientheight; if (dataheight < 350) { scrollarea.style.height = dataheight + 47 + "px"; } }

try setting scrolling height next on html side:

<scrolling allowscroll="true" usestaticheaders="true" scrollheight="" frozencolumnscount="4"> </scrolling>

let know if works.

asp.net telerik radgrid

No comments:

Post a Comment