Show Posts
|
|
Pages: [1]
|
|
1
|
General Category / EasyUI for jQuery / limitToList for combogrid
|
on: November 27, 2017, 07:51:45 AM
|
the paramt limiToList not found for combogrid. Its ok only combo. I can enable for search and limit input value for only values of list. With "editable: false" i resolve partial, unless search. $('#dg1_COMBO').combogrid({ width: '250px', label: 'COMBO', valueField: 'ID', textField: 'DESCRI', idField: 'ID', method: 'get', url: 'api/data/combo_ABB_CRUD_COMBO__COMBO.json', required: true, panelWidth: 250, //editable: false, limitToList: true, columns: [[ {field: 'ck', checkbox: true}, {field: 'ID', title: '#', sortable: true, hidden: true, }, {field: 'DESCRI', title: 'DESCRI', sortable: true, }, ]], });
|
|
|
|
|
2
|
General Category / EasyUI for jQuery / How add MenuButton to toolbar from js
|
on: December 17, 2015, 02:49:54 AM
|
i can add a MenuButton to toolbar for pivogrid using only javascript statements. toolbar: [{ //text: 'Layout', handler: function () { $('#dg2').pivotgrid('layout'); } }, {iconCls: 'icon-reload', text: 'Elabora', handler: function () { load_dg2(); }}, {iconCls: 'icon-excel1', text: 'Esporta', handler: function () { JSONToCSVConvertor2($('#dg2').pivotgrid('getRoots'), 'pivot', 'label'); }}, {iconCls: 'icon-database_edit', text: 'parametri pivot', handler: function () { $('#dg2').pivotgrid('layout') }}],
|
|
|
|
|
3
|
General Category / EasyUI for jQuery / How to show footer row in pivotgrid?
|
on: December 15, 2015, 08:28:18 AM
|
hi, i have a problem with plugin pivotgrid, not show the footer row. I add this option: this my code: function load_dg2() { $('#dg2').pivotgrid({ title: 'Report Costo Promo ', toolbar: [{ //text: 'Layout', handler: function () { $('#dg2').pivotgrid('layout'); } }, {iconCls: 'icon-reload', text: 'Elabora', handler: function () { load_dg2(); }}, {iconCls: 'icon-excel1', text: 'Esporta', handler: function () { JSONToCSVConvertor2($('#dg2').pivotgrid('getRoots'), 'totali', 'label'); }}, {iconCls: 'icon-database_edit', text: 'parametri pivot', handler: function () { $('#dg2').pivotgrid('layout') }}], url: 'api/pivot/costo_promo', fit: true, showFooter: true, //height: '%75%', pivot: { rows: ['DESC_ECR1', 'DESC_ECR2', 'DESC_ECR3'], columns: ['VOLANTINO'], values: [ {field: 'MARGINE_NETTE_STIMATE', op: 'sum', width: 200}, {field: 'VALORE_VENDITE_STIMATE_S', op: 'sum', width: 200}, ] }, onLoadSuccess: function (row, data) { for (i = 0; i < $('#dg2').treegrid('getData').length; i++) { $('#dg2').treegrid('collapseAll', i); }
}, }); }
|
|
|
|
|