Announcement

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

    getHeaderContextMenuItems(final Integer fieldNum)

    SmartGWT 12.1p (07/25/2023) / Firefox 102.4

    When left-clicking on the context menu dropdown the fieldNum returns the last column. But when right-clicking the fieldNum is correct.

    #2
    Hi there,

    It sounds like you're saying that you're passing a different field num to getHeaderContextMenuItems() based on the event. So how are you deciding on the fieldNum? Note that the correct approach is getEventColumn().

    Comment


      #3
      We were overriding the function and needed the column to obtain the Record. getEventColumn() appears to work.

      Comment

      Working...
      X