User Tools

Site Tools


roadwarrior_moduli:reportdatatable

This is an old revision of the document!


Report DataTable

configurazione

campo RP_jsonconfig con json di configurazione ad hoc.
Al momento tratta:

  • Array Columns, obbligatorio per vedere le colonne in tabella.
  • showSearchBtn: pulsante per avviare la ricerca, inibisce ricerca automatica compilando filtri.

Proprietà speciali in columns:

  • colStyle per stile personalizzato, ad esempio min-width per larghezza maggiorata;
  • numDecimal per trattare il campo come numero;
  • viewTotal : per somma in fondo alla griglia;

Esempio:
{“showSearchBtn”:true,
“Columns”:[
{“key”:“ORDINE”,“title”:“ORDINE”,“sortable”:true,“filter”:true,“sortDirection”:“asc”}, {“key”:“DATAORD”,“title”:“Data”,“sortable”:true,“filter”:true}, {“key”:“CODCLI”,“title”:“Cod.Cliente”,“sortable”:true,“filter”:true}, {“key”:“DESCLI”,“title”:“Cliente”,“sortable”:true,“filter”:true,“colStyle”:“min-width: 15em;”}, {“key”:“STATO_ORDINE”,“title”:“Stato”,“sortable”:true,“filter”:true}, {“key”:“AGENTE”,“title”:“Agente”,“sortable”:true,“filter”:true}, {“key”:“DESOFF”,“title”:“Offerta”,“sortable”:true,“filter”:true}, {“key”:“ODT_NUMRIFOFF”,“title”:“Ist.Offerta”,“sortable”:true,“filter”:true}, {“key”:“MOLTI”,“title”:“Moltip.”,“sortable”:true,“filter”:true}, {“key”:“QTA”,“title”:“QTA”,“sortable”:true,“filter”:false,“align”:“end”,“numDecimal”:0,“viewTotal”:true}, {“key”:“QTAOMA”,“title”:“Omaggi”,“sortable”:true,“filter”:false,“align”:“end”,“numDecimal”:0,“viewTotal”:true},{“key”:“IMPNETTO”,“title”:“Importo”,“sortable”:true,“filter”:false,“align”:“end”,“numDecimal”:0,“viewTotal”:true} ]}

roadwarrior_moduli/reportdatatable.1749570831.txt.gz · Last modified: by andrea

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki