Smartgwt selectitem key value issue

后端 未结 2 1941
执念已碎
执念已碎 2021-01-07 09:29

I have a SelectItem which I fill through a Map that has this combo is within a listgridfield, so good up there, but when I select any item in the

相关标签:
2条回答
  • 2021-01-07 10:09

    If you use a datasource instead of LinkedHashMap, then you can use setValueField method of SelectItem instance. but in this case MAY you can use setValueFormatter method of your SelectItem object.

    0 讨论(0)
  • 2021-01-07 10:12

    I had the same/similar problem, my solution that can be seen here ListGrid.setEditorCustomizer in SmartGWT was to use a datasource for the SelectItem and then implemented my own CellFormatter

    0 讨论(0)
提交回复
热议问题