Announcement

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

    SelectItem and RollOverCanvas

    I'm in the process of modifying an existing SmartGWT application (using SmartGWT 2.1, and GWT 2.03). The new requirement is to allow users to have their own list of "critical" parts. They have to be able to add new lists, and edit, select, or delete existing lists. My plan was to use a SelectItem to show the names of the user's lists of critical parts. I noticed the following:
    A SelectItem can show a ListGrid
    A ListGrid can use the RollOverCanvas feature to add clickable icons at the row level.

    My plan was to add icons for "edit", "delete", and "view" for each named list that would appear when that row in the SelectItem was "rolled over".

    When I started to implement this I found the following:
    1. The SelectItem uses ListGridFields but does not expose a ListGrid object for programming.

    2. The SelectItem doesn't support the RollOverCanvas.

    Is there something I missed, or is the RollOverCanvas option not applicable to a SelectItem that uses a ListGrid?

    #2
    It doesn't give you direct access, you would have to modify the code or write your own widget which does. I've modified the code before to be able to have a custom ListGrid as the picklist before, it isn't too difficult if you go down that road.

    Comment

    Working...
    X