Announcement

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

    ListGrid with dropdown

    Is it possible to have a ListGridFieldType of type "dropdown menu"? Clearly, this isn't native functionality, but how would one go about adding this?

    Thanks.

    #2
    See this sample listed under Grids --> Data Types.

    Comment


      #3
      ListGridFieldType enum

      ListGridFieldType enum seems indeed to be missing, but I can't find it either in the SmartClient docs.


      But it does exist as a a framework type:
      You can see it when you assign a datasource to a grid, having a datasourcefield of type FieldType.ENUM. After that, call grid.getFields() and check the type attribute of those fields, result is: com.smartgwt.client.widgets.grid.ListGridField.type = enum java.lang.String

      Comment


        #4
        It's a DataSource field type. ListGridFieldTypes specify ListGrid-level behaviors (such as rendering images) not model-related declarations.

        Comment

        Working...
        X