Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DataSourceField wrapped titles?

    Hello everybody.

    I am using a DataSourceField structure, and I was wondering whether I can have the created DataSourceFields (in a expandedRow in a ListGrid) displayed as wrapped(FALSE).

    e.g.
    Source code:
    Code:
    DataSourcePasswordField passwordField2 = new DataSourcePasswordField("password2", "Re-enter Password", 128, true);
    and the output is:

    Re-enter
    Password :

    while I would like to have:

    Re-enter Password.

    I don't have the setWrapTitle(boolean) on this component.

    Can anyone help?
    Thanks

    #2
    I'm not sure whether this is the right way, but I finally got it working:

    Code:
    dynamicForm.setWrapItemTitles(false);
    DataSourcePasswordField passwordField2 was bounded on dynamicForm via Datasource

    Comment

    Working...
    X