Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi,
I am writing my own plugin and I want to have a grid on property page. I want to specify a select box as grid column and also want to populate its data using a ajax url. If I specify my own options hard codded then it is working but when I specify options_ajax then it renders a text box
This is what I am trying to achieve
{
name : 'options',
label : '@@datalist.formrowcascadedeletedatalistaction.columns@@',
description : '@@datalist.formrowcascadedeletedatalistaction.columns.desc@@',
type : 'grid',
columns : [
,
]
{
name : 'options',
label : '@@datalist.columns@@',
description : '@@datalist.columns.desc@@',
type : 'grid',
columns : [
,
]
But this renders a textbox instead of select box
But when I try
{
name : 'options',
label : '@@datalist.columns@@',
description : '@@datalist.columns.desc@@',
type : 'grid',
columns : [{
key : 'label',
label : '@@datalist..value@@',
options : [
,
,
,
,
,
]
}
Then this renders a select box.
Please suggest how can I render a select box as a grid column which populates its value from a ajax url.
Thanks,
promod