1
Help for ParamQuery Pro / Re: 2 type editor in 1 column
« on: April 23, 2021, 11:03:40 am »
{
title: 'ACTUAL',
dataIndx: 'actual',
maxWidth: 76,
minWidth: 76,
dataType: 'date',
format: 'yy.mm.dd',
align: 'center',
valign: 'center',
sortable: false,
styleHead: this.styleForHead(),
style: this.styleCell(),
editor: {
type: function (ui) {
if (ui.rowIndx == 5) {
return "select"
}
else {
return "textarea";
}
},
options: ['YES', 'NO'],
}
},
Here is my code, it's not working...
title: 'ACTUAL',
dataIndx: 'actual',
maxWidth: 76,
minWidth: 76,
dataType: 'date',
format: 'yy.mm.dd',
align: 'center',
valign: 'center',
sortable: false,
styleHead: this.styleForHead(),
style: this.styleCell(),
editor: {
type: function (ui) {
if (ui.rowIndx == 5) {
return "select"
}
else {
return "textarea";
}
},
options: ['YES', 'NO'],
}
},
Here is my code, it's not working...