Details

      Description

      In JS API for EDT, there are these functions (from Component reference):

      sort()
          Sort the data table. 
      filter()
          Filter the data table. 
      clearSorting()
          Clear any sorting that is currently applied to the table. 
      clearFiltering()
          Clear any filtering that is currently applied to the table. 
      selectRow(index)
          Select the row specified by the index parameter. 
      selectRows([startIndex, stopIndex])
          Select all the rows in the table. Optionally, select only those rows between the indexes specified with the startIndex and stopIndex parameters. 
      deselectRow
          Deselect the row that is currently selected. 
      setActiveRow(index)
          Set the active row to that specified by the index parameter. 
      

      Issues:

      1. sort, filter: missing parameters in Component reference
      2. selectRows: contains wrong description in Component reference and/or functionality (below)
        • now requires a single parameter to select a single row (rest parameters are ignored) or an array with two values (rest is ignored) to select a range of rows, without any params it will fail with TypeError: range is undefined
        • does not trigger @on*selection events
      3. deselectRow:
        • wrong description, missing index parameter in Component reference
        • does not trigger @on*selection events
      4. setActiveRow: does it have any use case?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                jstefek Jiří Štefek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: