Merge pull request #17530 from quwe66/patch-1

Update SelectRow interface type, selected to be either string[] or number[]
This commit is contained in:
Paul van Brenk
2017-06-27 13:40:14 -07:00
committed by GitHub
+1 -1
View File
@@ -157,7 +157,7 @@ export interface SelectRow {
Give an array data to perform which rows you want to be selected when table loading.
The content of array should be the rowkey which you want to be selected.
*/
selected?: string[];
selected?: string[] | number[];
/**
if true, the radio/checkbox column will be hide.
You can enable this attribute if you enable clickToSelect and you don't want to show the selection column.