I am trying to use a RangeDateItem using SmartGWT 5.1 in a form and need to set the width size of the Text field for the From and To. I tried to use something like this:
TextItem ti = new TextItem();
Ti.setWidth(15);
((DateItem)myDateRangeItem.getFromField()).setTextFieldProperties(ti);
But this throws an error. What is the appropriate way to accomplish this?
Thank you
TextItem ti = new TextItem();
Ti.setWidth(15);
((DateItem)myDateRangeItem.getFromField()).setTextFieldProperties(ti);
But this throws an error. What is the appropriate way to accomplish this?
Thank you
Comment