Announcement

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

    [ListGrid] field 2 column-index mapping

    Hi,

    in a cell handler CB I want to call some functionality but only if a certain column was picked. The column index as part of the event is a dynamic one, always counted from 0, starting from the left. All I need is a mapping from my column to its current number in the sense of that event's getColNum(). Couldn't find something helpful in ListGrid[Field] or CellClickEvent.

    Please help.

    Ekki

    #2
    Hi Iso,

    once again I faced this issue. In a dynamic ListGrid (reordered, hidden columns) I need to know the index of a certain column to compare it against the event's getColNum()

    Thx,

    Ekki

    * GWT Rocks! * SmartGWT Rocks Even Harder! * GWT 2.0.4,
    SmartGWT PRO 2.3, JRE 1.6.0_20, Eclipse 3.6.1 *
    * Xcode 3.2.4 * iOS 3.2 (Base OS) *
    * Eclipse 3.5.2 * Android 2.2 * ADT 0.9.9 *

    Comment


      #3
      found what I need: ListGrid.getAllFields() returns the current state. Thread closed.

      Ekki

      * GWT Rocks! * SmartGWT Rocks Even Harder! * GWT 2.0.4,
      SmartGWT PRO 2.3, JRE 1.6.0_20, Eclipse 3.6.1 *
      * Xcode 3.2.4 * iOS 3.2 (Base OS) *
      * Eclipse 3.5.2 * Android 2.2 * ADT 0.9.9 *

      Comment

      Working...
      X