You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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 : [

Unknown macro: {label }

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 : [

Unknown macro: {  value }

,

Unknown macro: {  value }

] }

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

  • No labels