mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 01:25:36 -05:00
Feature/schemacompare include exclude checkboxes (#5548)
* Adding include exclude boxes * Adding as table component generic column and rememebering state. * converged custome action and select checkboxes, moved sc checkbox to middle, can have multiple checkboxes and can remember state now * adding action on column as a common column property * Taking PR comments * Changing Arg name as per CR comment * Taking a PR comment
This commit is contained in:
@@ -1094,6 +1094,7 @@ class TableComponentWrapper extends ComponentWrapper implements azdata.TableComp
|
||||
super(proxy, handle, ModelComponentTypes.Table, id);
|
||||
this.properties = {};
|
||||
this._emitterMap.set(ComponentEventType.onSelectedRowChanged, new Emitter<any>());
|
||||
this._emitterMap.set(ComponentEventType.onCellAction, new Emitter<any>());
|
||||
}
|
||||
|
||||
public get data(): any[][] {
|
||||
@@ -1129,6 +1130,11 @@ class TableComponentWrapper extends ComponentWrapper implements azdata.TableComp
|
||||
let emitter = this._emitterMap.get(ComponentEventType.onSelectedRowChanged);
|
||||
return emitter && emitter.event;
|
||||
}
|
||||
|
||||
public get onCellAction(): vscode.Event<any> {
|
||||
let emitter = this._emitterMap.get(ComponentEventType.onCellAction);
|
||||
return emitter && emitter.event;
|
||||
}
|
||||
}
|
||||
|
||||
class DropDownWrapper extends ComponentWrapper implements azdata.DropDownComponent {
|
||||
|
||||
Reference in New Issue
Block a user