Welcome to the Xceed Community | Help
Community Search  
More Search Options

Filling grid with blank rows when # rows with data is too small to fill display area

Sort Posts: Previous Next
  •  11-25-2008, 11:02 AM Post no. 17163

    Filling grid with blank rows when # rows with data is too small to fill display area

    We are displaying a DataGridControl in a popup window of fixed height.  The DataGridControl populates by being bound to a DataGridCollectionView on top of an EditableItemBindingList patterned after the Xceed "Composers" sample.  We are showing gridlines and alternating row colors.  All is basically working fine.

    But, when the number of rows of data in the underlying source is not enough to vertically fill the host popup window we observe that the DataGridControl adjusts its height to fit the actual number of rows leaving a blank space below it (between its horizontal scroll bar and the bottom of the host popup window). 

    In our opinion, it would be aesthetically more pleasing if the DataGridControl stretched down to fill the host popup window, painting in grid lines and alternate colors automatically to fill the space.  The space would appear as "blank rows" in the DataGrid.

     Is there a way to make it do this?

     Thanks,

    John

     

     

  •  11-25-2008, 2:20 PM Post no. 17178 in reply to 17163

    Re: Filling grid with blank rows when # rows with data is too small to fill display area

    This is currently not possible; however I have added it as feature request.
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.