Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-12330

Drag while selecting row in rich:extendedDataTable causes JS error

    Details

      Description

      If you go to http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=extendedDataTable&sample=exTableSelection&skin=blueSky in IE9 and click down on 1 row and release on another a JS error occurs in :

      richfaces.ui.ExtendedDataTable.selectRows: function(range) {
                      if (typeof range == "number") {
                          range = [range, range];
                      }
                      var changed;
                      var i = 0;
                      for (; i < range[0]; i++) {
                          if (this.ranges.contains(i)) {
                              this.deselectRow(i);
                              changed = true;
                          }
                      }
      

      At the for loop while trying to access range[0].

      The IE JS Console Log is

      SCRIPT5007: Unable to get value of the property '0': object is null or undefined packed.js, line 10109 character 24
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  tdyer Tristan Dyer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: