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 : \[{label : 'label, type : 'elementselect',options_ajax : '[CONTEXT_PATH\]/web/property/json/getElements?classname=org.joget.apps.form.model.FormLoadMultiRowElementBinder' }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 : 'value',

            options : \[{  value : 'text', label : 'label' },
{  value : 'html',  label : 'html'  }

\] }

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