jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Add customize link to grid Add customize link to grid #67820

    tome_favre
    Participant

    Continuing:

    { text: ‘Quantidade’, datafield: ‘qtd’,cellsrenderer: ‘‘ + qtd + ‘
    }]

    in reply to: Add customize link to grid Add customize link to grid #67819

    tome_favre
    Participant

    Hello,

    I have to create a link with a customized url like this:

    var source ={
                    datatype: "json",
                    datafields: [
                        { name: 'operador' },
                        { name: 'qtd' },
                        { name: 'id_operador' }
                    ],                    
                    id: 'arr_cat_pimenta',
                    url: 'consultas/data_cat_subcat.php?resultado=1'
                };
                $("#table_fp_nc").jqxGrid({
                    width: "100%",
                    autoheight : true,
                    source: source,
                    theme: '',
                    columns: [
                        { text: 'Analista', datafield: 'operador', width: 143},//, width: 131 '\u00c1rea'
    					{ text: 'Quantidade', datafield: 'qtd',cellsrenderer: '<a href=\"16.php?nome=' + operador + '&id_operador=' + id_operador + ' class="link-opaco">' + qtd + '</a>'
    					}]
                    ,
                    sortable: true
                });

    Can you help me please?

Viewing 2 posts - 1 through 2 (of 2 total)