How to select all rows of FeatureTable 4.16 after it loads?

316
2
Jump to solution
07-14-2020 11:47 PM
Ranga_Tolapi
Occasional Contributor II

How to select all rows of FeatureTable 4.16 after it loads?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor
          featureTable.viewModel.watch("state", function (state) {
            if (state === "ready") {
              featureLayer.queryObjectIds().then(function (ids) {
                featureTable.selectRows(ids);
              });
            }
          });

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor
          featureTable.viewModel.watch("state", function (state) {
            if (state === "ready") {
              featureLayer.queryObjectIds().then(function (ids) {
                featureTable.selectRows(ids);
              });
            }
          });
Ranga_Tolapi
Occasional Contributor II

This worked like a charm. Thank you so much Robert Scheitlin, GISP

0 Kudos