Add functionality to expand and collapse all property rows. (#20746)

* Adds ability to expand and collapse all property rows

* Removes duplicate collapse/expand all logic

* Code review changes

* Removes unnecessary enum

* Updates comment

* Code review changes

* Code review changes

* Minor clean up

* Renames expand/collapse method

* Corrects collapse all action IDs and labels
This commit is contained in:
Lewis Sanchez
2022-10-06 20:47:20 -07:00
committed by GitHub
parent 5b07fbef2a
commit 00ff3ac50f
2 changed files with 60 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ export class ExecutionPlanPropertiesView extends ExecutionPlanPropertiesViewBase
this.populateTable(columns, this.convertPropertiesToTableRows(this._model.graphElement?.properties));
}
private convertPropertiesToTableRows(properties: azdata.executionPlan.ExecutionPlanGraphElementProperty[]): Slick.SlickData[] {
private convertPropertiesToTableRows(properties: azdata.executionPlan.ExecutionPlanGraphElementProperty[] | undefined): Slick.SlickData[] {
if (!properties) {
return [];
}