How to select all rows of FeatureTable 4.16 after it loads?
Solved! Go to Solution.
featureTable.viewModel.watch("state", function (state) {
if (state === "ready") {
featureLayer.queryObjectIds().then(function (ids) {
featureTable.selectRows(ids);
});
}
});
featureTable.viewModel.watch("state", function (state) {
if (state === "ready") {
featureLayer.queryObjectIds().then(function (ids) {
featureTable.selectRows(ids);
});
}
});
This worked like a charm. Thank you so much Robert Scheitlin, GISP
Robert, how can you add a checkbox at the column header so I can use it as select/deselect all records.