Hello,
I'm attaching a sample with a xamDatagrid and the summary row SummaryDisplayArea property to bottomfixed. When the xamDatagrid has a lot of data, when you scroll down to the last row there is an empty space between the last row and summary row. (I have set the background of the xamDataGrid to SlateGray in order to highlight the empty space). How can remove or hide that space? I have created a style for the CellValuePresenter and the SummaryResultPresenter with the right border colored and that space does not look good. Any thoughts?
Thanks,
George
Hello George,
Our developers have researched this matter.
The information, that they have provided is that this behavior is expected, because the immediate mode for the scrolling is record based and the top record is always fully visible (if there is enough space), so in some cases there might be a gap at the bottom, when there is not enough space for another record to be fully displayed.
What they have suggested is to set the FieldSettings' SummaryDisplayArea to Bottom, this way the gap will be after the summary presenter.
Also if you would like you can submit a new Product Idea on the following site: http://ideas.infragistics.com for a smooth scrolling.
Please do not hesitate to let me know if you have any further questions on this matter.
I have logged this behavior with our developers in our tracking system, with an issue ID of 211746. I have also created a support ticket on your behalf with number CAS-168141-S2X3D7 in order to link the development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.
I have updated the sample to show why the XamDataGrid is placed inside a 3-row grid. The second row is reserved for the GridSplitter and the 3rd to show some details of the XamDataGrid (eg charts). Now what are my options? If I set the 1st row height to 'auto' , the 3rd row is not visible since there are no scrollbars. Do I have to manually set the height of the row( eg a sum height of 25rows + the field height + the summary row height? Keep in mind that the extra space must be "hidden" for both normal and maximized state of the window.
Thanks
Thank you for contacting Infragistics!
I have been looking into your question and into the sample application, that you have provided.
In the sample application you are placing the XamDataGrid inside a Grid, that contains 3 RowDefinition. Then when the space of the Grid is divided, for the XamDataGrid there is place with certain Height.
The XamDataGrid takes this Height and places the SummaryRecord on the bottom. When the Records are generated they have their own fixed height.
In this case the sum of the Records Height is less than the space reserved for the XamDataGrid and this is why you are seeing this space.