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
265
Change cell height in Row Layout in selected row
posted

Hello,

Is it possible to set the cell height in the run time only on selected row?

For example by using RowLayoutColumnInfo.PreferredCellSize?

Because as I use this property it does change the cell height but for all the rows and I need to change it only on currently selected row.

Thanks you,

s

Parents
No Data
Reply
  • 29065
    Suggested Answer
    Offline posted

    Dear sal_om_ea,

    It is possible to set the cell height only on a selected row. 

    Please use the Override property - RowSizing and set the value to Free.
    Ex. In the form_load or afterRowActivate event type the following line of code:

     //this.ultragrid.DisplayLayout.Override.RowSizing = RowSizing.Free;

    Once this property value is set to free, any height you have set to the ActiveRow will be implemented, and all the other rows will be set to the default height.

    Please let me know if this helps and/or have any additional questions about this matter.

    Sincerely,

    Michael Di Filippo
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com/support

     

     

Children