The question is about VueJS Framework - Element: http://element.eleme.io
I have some table (el-table) who gets data from array:
<el-table :data="someData">
<el-table-column prop="id" label="№"></el-table-column>
<el-table-column prop="is_active" label="Active"></el-table-column>
</el-table>
axios get JSON from DB, the array looks like:
[
{
"id":1,
"is_active":0
},
{
"id":2,
"is_active":1
},{
"id":3,
"is_active":1
}
]
Anyone knows how to say Element table show only rows with property "is_active" eq 0 or 1 (or another condition)?