CSmartTable column filter can't be hidden and sort function stops working after items updated
See original GitHub issueHi,
I have 4 feedbacks for CSmartTable component.
1- CSmartTable is not hiding column filter inputs via props or I’m using it wrong.
:column-filter="false"
is simply does not working. I solved it via ugly css workaround.
2- If I give an empty array for items prop then update with a new array of objects that is coming from api, column sort is not working. As a workaround, instead of defining empty array for items prop at the start, I just put an object in this array with empty values.
// not working
const items = []
// working
const items = [
{
eventTime: null,
responseCode: null,
responseTime: null,
status: null,
url: null,
},
]
3- Single arrows in the pagination below of table, normally works well but if you click page 2 then click < arrow three times, table just list all of the items. Even the arrow button seems disabled, it seems it’s clickable. (it is also not working with right arrow after user comes at last page)
4- For columns prop, _classes key seems not working. I can’t give classes for every cell in a column. If it’s not a bug, could you update the docs with an example?
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
@JerryBels there is a docs page actually: https://coreui.io/vue/docs/4.1/components/smart-table.html
@sametsafak I will check it and fix it in the next release. It should be ready next week