1 Reply Latest reply on Jul 8, 2008 8:25 AM by SujitG

    Remove Scrollbars from DataGridColumn

      Hi all, i have a simple DataGrid as below and a simple itemRenderer on one of the columns.... For some reason the column with the itemRenderer puts scrollbars on it when the field data is too long. I dont want it to do this. Is there anyway we can make the custom itemRenderer behave just like the others where it just chops off the end?

        • 1. Re: Remove Scrollbars from DataGridColumn
          SujitG Level 2

          Setting the width of the Button in the item renderer to a fixed value will display ellipses (...) when the label gets longer. You can also try setting the horizontalScrollPolicy of the VBox to "off", in this case the Button gets truncated and is not a good experience.

          You can go for fixing the width of the Button.

          Hope this helps.