When the grid is filled I want to conditionally enable/disable a command button in a column depending on the value of a item in that row. This should do done on a per row basis and when it's filled, not just when it's in edit state.
I have the following, just can't figure out the details:
.......
<e-column header-text="Supplier" width="100">
<e-column-commands>
<e-column-command type="Details">
<e-button-options click="onGetPO" text="Get"></e-button-options>
</e-column-command>
</e-column-commands>
</e-column>
......
JavaScript
What event should this be in? if (this.getCurrentViewData()[args.rowIndex]["Supplier"] == "xyz") {
Set the command button to enabled else
Set the command button to disabled }
Thanks,
Mike