lorenzofox3 / Smart-Table

Code source of Smart Table module: a table/grid for Angularjs
http://lorenzofox3.github.io/smart-table-website/
1.8k stars 513 forks source link

CheckBox disable in ng2 smart table #793

Closed jeevitha8123 closed 7 years ago

jeevitha8123 commented 7 years ago

Hello ! in table list i need to disable checkbox once the status(yes,no) is yes . The status option in drop down anyone please help me for this issue my angular code is

MrWook commented 7 years ago

Hello @jeevitha8123,

SmartTable is a module for Angular 1, didn't know you can use those so freely in Angular 2.

I don't think that i really understand what you are trying to achieve there.

Do you want to disable checkboxes that are in a column of the SmartTable when the status of the dropdown is "yes"? And this dropdown is outside of the SmartTable?

But i think you could add this to the checkbox html, i guess...?

*ngDisabled="`DROPDOWNMODEL` == 'yes'"
lorenzofox3 commented 7 years ago

wrong repo https://github.com/akveo/ng2-smart-table