Gridview Fill and Resize Issue

Originally Posted 13 February 2013, 6:50 pm EST

  • Originally Posted 13 February 2013, 6:50 pm EST

    When the gridview is dispayed the columns and headers leaqve a sliver of whitespace on the right side of the grid. if th browser page is resized the grid will resize up , but not back down to the browser window size.... Very ugly and I don't see any gridview options that would help here.... I've attached two screen snapshots so you can see what I'm talking about.

    PS. I'm using the 2012 V3 version of the Visual Studio Enterprise toolset.



  • Reply

    Hello,

    I am able to replicate the issue that when columns are resized the grid's width is not resized itself and shows a blank space at the right end of grid (as shown in the screenshot).

    This seems like a bug to me. I have escalated the issue to the concerned team. I will get back to you once I have an update on this issue.

    Regards
    Nidhi
  • Reply

    Any news on this? The other issue we see is that the fields sowly creep to the right while you are watching it until they are off the screen...
  • Reply

    Hello,

    This resizing issue has been fixed in the next build which is currently under QA testing and would be available on prerelease site as soon as it is cleared by QA team. As a workaround, you can recalculate width of the grid when column is resized in the current version:

     <script type="text/javascript">
    function columnResized(e, args) {
    $(e.target).c1gridview("setSize");
    }
    </script>

    <wijmo:C1GridView ... OnClientColumnResized="columnResized">
    ...
    </wijmo:C1GridView>


    Regarding the blank space, the development team is unable to replicate it with build 96 available at the following link: http://prerelease.componentone.com/dotnet30/C1WebWijmo.Webforms/2012-T3/

    Regards
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels