Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Remove blank space from end of row
posted

Default behavior of DataGrid when I expand rows is that all of them are moved to right. I use TranslateTransform.X for RenderTransform on DataRowPresenter with own converter to move this row to left to level out expanded rows with first row. Now rows offset is ok,but the problem it that I have blank space (17px wide if expand first level tree) on the end of all DataRows. it looks like using transformation move rows by 'hard' but grid still see space it takes.

How can I remove this space after moving rows to left? Or maybe You have better idea on suppress datagrid behavior with moving row to right when expand rows tree?

Parents Reply Children
No Data