I have tried the edit type = date but it is inconsistant for what I need. It does not set the date properly in the tree table data object - it is always empty - I followed the basic sample online:
{ map:"(date)#due#", header:“Due”, editor:“date”, width:90}
Here is my original column def:
{ id:“due”, header:“Due”, editor:“text”, width:90}
I end up getting dates for 1917 or when I pick a date the date does not get stored in the table data object
I then tried the inline-edit with a template in the hopes I could bind a js datepicker to the input template field but it looked totally different than the grid so I abandoned that idea
So, I was wondering if there is a way for me to put a date mask in the edit field instead, ie… mm/dd/yyyy with a mask of //____
so I can ensure that I am getting a date?
Thanks for any help you can offer!
Tab
Here is the basic grid definition:
grid = new webix.ui({
container: gridContainer,
id: gridId,
view:"treetable",
headerRowHeight:18,
rowHeight:32,
select:"row",
scrollX:false,
scrollY:false,
editable:true,
editaction:"dblclick",
columns:[
{ id:"id", header:"Id", css:{"text-align":"center"}, width:50},
{ id:"status", header:"Status", css:{"text-align":"center"}, width:80},
{ id:"action", header:"Action Items", editor:"text", width:475, template:"{common.space()}{common.icon()} #value#", fillspace:1},
{ id:"due", header:"Due", editor:"text", width:90}
],
autoheight:false,
autowidth:false
});