Open idzulfaqor opened 2 years ago
For the type date, add format also, so user can custom format like: format:"yyyy-mm-dd", format:"yy-mm-dd", format:"yyyy", etc. Thanks to make great table, hope you can make this feature, god bless you.
Thanks for your report.
Adding new components will increase the workload. I'll evaluate this new feature.
I am opening an issue for
vue-easytable
Issue Type
Feature
Issue Title
Please can you make column type button, date, and option(dropdown select)
What problem does this feature solve?
So if this feature is available, i dont have to install external library or i dont have to make custom body cell because that return button, date input, selecet dropdown because it make interface table so bad.
What does the proposed API look like?
columns:[ { field:"orderDate", name:"ORDER DATE", type:date, edit:true, }, { field:"edit", name:"EDIT", type:button, onclick:(row, cell)=>{ call methods here or write methods here } },
{ field:"items", name:"SELECT ITEMS", type:option, optionData:[{value:"a", title:"AA001"},{value:"b",title:"BB001"}], edit:true, }, ]