Skip to content

Commit

Permalink
Merge pull request #422 from Esri/show-hide-columns
Browse files Browse the repository at this point in the history
doc _getFieldlist
  • Loading branch information
jmhauck authored Nov 13, 2023
2 parents 2db3c43 + 767ad46 commit f7cc808
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/layer-table/layer-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,12 @@ export class LayerTable {
}, []);
}

/**
* Get the list of fields as dropdown items and store the current selected state so
* we can show/hide the appropriate fields
*
* @returns Node with the fields as dropdown items
*/
_getFieldlist(): VNode {
return this._columnsInfo ? (
<calcite-dropdown-group
Expand Down Expand Up @@ -1232,7 +1238,7 @@ export class LayerTable {
return prev;
}, {});
}

/**
* Select the feature that was specified via url params
*
Expand Down

0 comments on commit f7cc808

Please sign in to comment.