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
935
show VertScrollBar only if text not fit in cell
posted

Hi

I am using

1) I am using the below to show vertical scroll in a cell but I dont want show vertical scroll bar if it  text fits in a cell.

e.Layout.Bands[0].Columns["column1"].VertScrollBar = true;

e.Layout.Bands[0].Override.RowSizing =

Please advise.

Thanks

RowSizing.AutoFree;

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    I don't think there's any way to do this.

    It would be extremely difficult to determine if the text fits within the cell. You might be able to do this by getting the cell's EditorResolved and check getting the ideal size from the editor.

    But even if that works (and I'm not sure that it will), the VertScrollBar property is not available on the cell, only on the entire column.

    You should Submit a feature request to Infragistics

Children
No Data