Skip to content

Commit

Permalink
Merge pull request #93 from zora-han/master
Browse files Browse the repository at this point in the history
对zui.datagrid.js的两处意见
  • Loading branch information
catouse committed Jan 16, 2018
2 parents 79830ba + 5edddae commit 04d9464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/lib/datagrid/zui.datagrid.js
Expand Up @@ -1179,7 +1179,7 @@
}
var dataItem = rowIndex > 0 ? that.getDataItem(rowIndex - 1) : null;
config.data = dataItem;
config.rowId = dataItem ? (dataItem.rowId || dataItem.id) : (rowIndex === 0 ? '#header' : rowIndex);
config.rowId = rowIndex === 0 ? '#header' : rowIndex;
return config;
};

Expand Down

0 comments on commit 04d9464

Please sign in to comment.