Announcement

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

    blank space at the bottom of listgrid

    Hi,

    We are using v8.2p_2012-06-25/Pro, and we see the following problem in all major browsers (IE9, FF14, Chrome20):
    We have a listgrid with large data, and we show it all, no paging is used. We added a new widget to one of the cells. If we scroll down to the bottom of the listgrid, we see a lot of blank space. We checked the generated HTML, and those are not blank rows. It's like the scrollbar scrolls the listgrid body a bit more upwards than it should. Without the widget everything goes back to normal.

    This is the part responsible for addig the widget:
    Code:
          recordComponentPoolingMode: 'recycle',
          showRecordComponentsByCell: true,
          recordComponentPosition: 'within',
          poolComponentsPerColumn: true,
          showRecordComponents: true,
          createRecordComponent: function(record, colNum) {
            var dform = null;
            var ref = this;
            var fieldName = this.getFieldName(colNum);
            if (fieldName == 'akcio') {
              dform = isc.DynamicForm.create({
                autoDraw: false,
                fields: [
                  {
                    shouldSaveValue: false,
                    type: "select",
                    showTitle: false, 
                    optionDataSource: "feladatOsszefoglalo_lista_akcio_DS",
                    width: 40,
                    pickListWidth: 155,                
                    valueField: "a_uid",
                    displayField: "a_name",
                    autoFetchData: false,
                    defaultValue: -1,
                    getPickListFilterCriteria : function () {
                      return {event_id:this.form.record.event_id,timecode:isc.timeStamp()}
                    },
                    valueMap: {
                      '-1': "---"
                    },
                    changed: function(form, item, value) {
                      if (value!=-1) {
            						akcio_inditas(value, this.form.record.event_id, ref);
                        item.setValue(-1);
                      }
                    }
                  }
                ]
              });
              dform.viewGrid = this;
              dform.record = record;
            }
            return dform;
          },
          updateRecordComponent: function(record, colNum, component, recordChanged) {
            var fieldName = this.getFieldName(colNum);
            if (fieldName == 'akcio') {
              component.record = record;
              return component;
            }
            return null;
          }
Working...
X