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
615
is it possible to AutoSize a Row based on CheckEditor Text?
posted

NetAdvantage 9.2

I have a secondary band with x number of childrows (each having a CheckEditor with text) as options for their respective parent row. Since the text for the check editor can vary in size I was hoping to be able to autosize the height for those rows where the CheckEditor text exceeds the cell size.

I've tried a few combinations of setting the autosize property along with performautoresize calls with no results. In general I was expecting this as my reading of the documentation leaves me with the impression that only editable editors (that return SupportsAutoSizeEdit = True) would support this behavior.

I was just wanting to check if there might not be some existing method/property or other factor that I was overlooking that might allow me to achieve the result I need before taking a trip to refactor-ville.

 

thanks

Parents
  • 469350
    Offline posted

    Hi,

    You probably just need to set grid.DisplayLayout.Override.RowSizing to one of the options that includes the word "Free". Settings that do not include "Free" synchronize the height of every row - so it does not allow rows to have different heights. Setting RowSizing to Free will allow variable-height rows, so PerformAutoResize on one row will not affect the other rows.

Reply Children