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
1615
Multi Column DSH
posted

Hi, 

I have a multi column DSH grid. I would like all cells to be keep the same size regardless of landscape/portrait orientation. 

Right now cells seem to resize when I rotate. How can I ensure constant and predetermined size for all cells ?

Thanks

Parents
No Data
Reply
  • 40030
    Verified Answer
    Offline posted

    Hi, 

    By default Column widths are not fixed size. Instead they equally size to fit within the grid's viewport. 

    To change this, you simply just need set the ColumnWidth property on  either the IGGridView or IGGridViewColumnDefinition you're using. 

    grid.ColumnWidth = IGColumnWidth.CreateNumericColumnWidth (200);

    -SteveZ

Children
No Data