forum

Home / DeveloperSection / Forums / Space between grid and vertical scroll bar in radgrid blank column

Space between grid and vertical scroll bar in radgrid blank column

Anonymous User340902-Nov-2014

I am using a RadGrid with four frozen columns, when I bind the grid, it shows (Chrome) an empty column on the right end, and all the data are misaligned one row to the right. In IE it is totally messed up!

<ClientSettingsAllowColumnsReorder="false"EnableRowHoverStyle="false"AllowDragToGroup="false">
<ScrollingAllowScroll="True"UseStaticHeaders="True"ScrollHeight="350px"FrozenColumnsCount="4">
</Scrolling>
<ClientEventsOnGridCreated="GridCreated"/>
  <ResizingAllowColumnResize="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";
        }
    }

Updated on 03-Nov-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By