@fluxhub/fluxhub-lib 1.0.242 → 1.0.244

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -93,8 +93,8 @@
93
93
  <tr>
94
94
  <td class="col-md-3">styles</td>
95
95
  <td class="col-md-9"><code>
96
-
97
- </code></td>
96
+
97
+ </code></td>
98
98
  </tr>
99
99
 
100
100
 
@@ -3538,242 +3538,242 @@
3538
3538
  <tr>
3539
3539
  <td class="col-md-4">
3540
3540
  <i>Default value : </i><code>{
3541
- //rowCount: ???, - not setting the row count, infinite paging will be used
3542
- getRows: (params: any) &#x3D;&gt; {
3541
+ //rowCount: ???, - not setting the row count, infinite paging will be used
3542
+ getRows: (params: any) &#x3D;&gt; {
3543
3543
 
3544
- // this code should contact the server for rows. however for the purposes of the demo,
3545
- // the data is generated locally, a timer is used to give the experience of
3546
- // an asynchronous call
3547
- // console.log(&#x27;asking for &#x27; + params.startRow + &#x27; to &#x27; + params.endRow);
3548
- //console.log( params.filterModel);// + &#x27; params.filterModel &#x27; +params.filterModel);
3544
+ // this code should contact the server for rows. however for the purposes of the demo,
3545
+ // the data is generated locally, a timer is used to give the experience of
3546
+ // an asynchronous call
3547
+ // console.log(&#x27;asking for &#x27; + params.startRow + &#x27; to &#x27; + params.endRow);
3548
+ //console.log( params.filterModel);// + &#x27; params.filterModel &#x27; +params.filterModel);
3549
3549
 
3550
- this.slimLoadingBarService.start(() &#x3D;&gt; {
3551
- });
3550
+ this.slimLoadingBarService.start(() &#x3D;&gt; {
3551
+ });
3552
3552
 
3553
- let p: QGParam &#x3D; new QGParam();
3554
- p.table &#x3D; this.tbl_name;
3555
- p.table_count &#x3D; this.tbl_name;
3556
- if (this.count_tbl_name !&#x3D; &#x27;&#x27;)
3557
- p.table_count &#x3D; this.count_tbl_name;
3558
- // console.log(params);
3559
- p.num_per_pag &#x3D; params.endRow - params.startRow;
3560
- // this.gridOptions.paginationPageSize &#x3D; this.num_per_pag;
3561
- // this.gridOptions.cacheBlockSize &#x3D; this.num_per_pag;
3562
- // console.log(this.gridOptions.cacheBlockSize );
3563
- // console.log(this.gridOptions.paginationPageSize );
3564
- p.curr_page &#x3D; Math.round(params.startRow / p.num_per_pag);
3565
- if (p.curr_page &#x3D;&#x3D; null) p.curr_page &#x3D; 0;
3566
- if (p.num_per_pag &#x3D;&#x3D; null) p.num_per_pag &#x3D; 100;
3567
- p.sort_field &#x3D; this.sort_field;
3553
+ let p: QGParam &#x3D; new QGParam();
3554
+ p.table &#x3D; this.tbl_name;
3555
+ p.table_count &#x3D; this.tbl_name;
3556
+ if (this.count_tbl_name !&#x3D; &#x27;&#x27;)
3557
+ p.table_count &#x3D; this.count_tbl_name;
3558
+ // console.log(params);
3559
+ p.num_per_pag &#x3D; params.endRow - params.startRow;
3560
+ // this.gridOptions.paginationPageSize &#x3D; this.num_per_pag;
3561
+ // this.gridOptions.cacheBlockSize &#x3D; this.num_per_pag;
3562
+ // console.log(this.gridOptions.cacheBlockSize );
3563
+ // console.log(this.gridOptions.paginationPageSize );
3564
+ p.curr_page &#x3D; Math.round(params.startRow / p.num_per_pag);
3565
+ if (p.curr_page &#x3D;&#x3D; null) p.curr_page &#x3D; 0;
3566
+ if (p.num_per_pag &#x3D;&#x3D; null) p.num_per_pag &#x3D; 100;
3567
+ p.sort_field &#x3D; this.sort_field;
3568
3568
 
3569
- if (params.sortModel !&#x3D; null)
3570
- if (params.sortModel.length &gt; 0) {
3571
- p.sort_field &#x3D; &#x27;&#x27;;
3572
- for (var i: number &#x3D; 0; i &lt; params.sortModel.length; i++) {
3573
- if (p.sort_field !&#x3D; &quot;&quot;) p.sort_field &#x3D; p.sort_field + &#x27;,&#x27;;
3574
- if (params.sortModel[i].colId &#x3D;&#x3D; &#x27;autori&#x27;)
3575
- p.sort_field &#x3D; p.sort_field + &quot;case when CHARINDEX(&#x27;&quot; + localStorage.getItem(this.m_appService.COMPANY_KEY + &quot;user&quot;) + &quot;&#x27;,autori)&gt;0 then 1 else 0 end&quot; + &#x27; &#x27; + params.sortModel[i].sort;
3576
- else
3577
- p.sort_field &#x3D; p.sort_field + params.sortModel[i].colId + &#x27; &#x27; + params.sortModel[i].sort;
3569
+ if (params.sortModel !&#x3D; null)
3570
+ if (params.sortModel.length &gt; 0) {
3571
+ p.sort_field &#x3D; &#x27;&#x27;;
3572
+ for (var i: number &#x3D; 0; i &lt; params.sortModel.length; i++) {
3573
+ if (p.sort_field !&#x3D; &quot;&quot;) p.sort_field &#x3D; p.sort_field + &#x27;,&#x27;;
3574
+ if (params.sortModel[i].colId &#x3D;&#x3D; &#x27;autori&#x27;)
3575
+ p.sort_field &#x3D; p.sort_field + &quot;case when CHARINDEX(&#x27;&quot; + localStorage.getItem(this.m_appService.COMPANY_KEY + &quot;user&quot;) + &quot;&#x27;,autori)&gt;0 then 1 else 0 end&quot; + &#x27; &#x27; + params.sortModel[i].sort;
3576
+ else
3577
+ p.sort_field &#x3D; p.sort_field + params.sortModel[i].colId + &#x27; &#x27; + params.sortModel[i].sort;
3578
3578
 
3579
- }
3580
- }
3579
+ }
3580
+ }
3581
3581
 
3582
3582
 
3583
- p.system_dest &#x3D; this.system_dest;
3584
- p.field &#x3D; this.fields;
3583
+ p.system_dest &#x3D; this.system_dest;
3584
+ p.field &#x3D; this.fields;
3585
3585
 
3586
3586
 
3587
- if (this.filters !&#x3D; null)
3588
- p.filter &#x3D; this.filters;
3587
+ if (this.filters !&#x3D; null)
3588
+ p.filter &#x3D; this.filters;
3589
3589
 
3590
- if (this.fix_flt !&#x3D; &quot;&quot;) {
3591
- if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3592
- p.filter &#x3D; p.filter + &#x27; (&#x27; + this.fix_flt + &#x27; )&#x27;;
3593
- }
3594
- if (this.fix_flt_temp !&#x3D; &quot;&quot;) {
3595
- if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3596
- p.filter &#x3D; p.filter + &#x27; (&#x27; + this.fix_flt_temp + &#x27; )&#x27;;
3597
- }
3598
- let b_filter:boolean&#x3D;false;
3599
- // console.log(&#x27;Filter model&#x27;);
3600
- //console.log(params.filterModel);
3601
- if (params.filterModel !&#x3D; null) {
3602
- // console.log(&#x27;Filtri&#x27;);
3590
+ if (this.fix_flt !&#x3D; &quot;&quot;) {
3591
+ if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3592
+ p.filter &#x3D; p.filter + &#x27; (&#x27; + this.fix_flt + &#x27; )&#x27;;
3593
+ }
3594
+ if (this.fix_flt_temp !&#x3D; &quot;&quot;) {
3595
+ if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3596
+ p.filter &#x3D; p.filter + &#x27; (&#x27; + this.fix_flt_temp + &#x27; )&#x27;;
3597
+ }
3598
+ let b_filter: boolean &#x3D; false;
3599
+ // console.log(&#x27;Filter model&#x27;);
3600
+ //console.log(params.filterModel);
3601
+ if (params.filterModel !&#x3D; null) {
3602
+ // console.log(&#x27;Filtri&#x27;);
3603
3603
 
3604
3604
  for (let key in params.filterModel) {
3605
- // console.log(key);
3606
- // if (p.hasOwnProperty(key)) {
3607
- // console.log( params.filterModel[key]);
3608
- if (params.filterModel[key].type !&#x3D; null) {
3609
- if (params.filterModel[key].filter !&#x3D; null) {
3610
- this.show_pulisci_filtri &#x3D; true;
3611
- if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3612
- b_filter&#x3D;true;
3613
- if (params.filterModel[key].filterType &#x3D;&#x3D; &#x27;number&#x27;) {
3614
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;greaterThan&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &gt; &#x27; + params.filterModel[key].filter;
3615
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;equals&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &#x3D; &#x27; + params.filterModel[key].filter;
3616
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;notEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&gt; &#x27; + params.filterModel[key].filter;
3617
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;lessThan&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt; &#x27; + params.filterModel[key].filter;
3618
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;lessThanOrEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&#x3D; &#x27; + params.filterModel[key].filter;
3619
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;greaterThanOrEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &gt;&#x3D; &#x27; + params.filterModel[key].filter;
3620
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;inRange&quot;) p.filter &#x3D; p.filter + &#x27; (&#x27; + key + &#x27; &gt;&#x3D; &#x27; + params.filterModel[key].filter + &#x27; and &#x27; + key + &#x27; &lt;&#x3D; &#x27; + params.filterModel[key].filterTo + &#x27;)&#x27;;
3605
+ // console.log(key);
3606
+ // if (p.hasOwnProperty(key)) {
3607
+ // console.log( params.filterModel[key]);
3608
+ if (params.filterModel[key].type !&#x3D; null) {
3609
+ if (params.filterModel[key].filter !&#x3D; null) {
3610
+ this.show_pulisci_filtri &#x3D; true;
3611
+ if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3612
+ b_filter &#x3D; true;
3613
+ if (params.filterModel[key].filterType &#x3D;&#x3D; &#x27;number&#x27;) {
3614
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;greaterThan&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &gt; &#x27; + params.filterModel[key].filter;
3615
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;equals&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &#x3D; &#x27; + params.filterModel[key].filter;
3616
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;notEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&gt; &#x27; + params.filterModel[key].filter;
3617
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;lessThan&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt; &#x27; + params.filterModel[key].filter;
3618
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;lessThanOrEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&#x3D; &#x27; + params.filterModel[key].filter;
3619
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;greaterThanOrEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &gt;&#x3D; &#x27; + params.filterModel[key].filter;
3620
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;inRange&quot;) p.filter &#x3D; p.filter + &#x27; (&#x27; + key + &#x27; &gt;&#x3D; &#x27; + params.filterModel[key].filter + &#x27; and &#x27; + key + &#x27; &lt;&#x3D; &#x27; + params.filterModel[key].filterTo + &#x27;)&#x27;;
3621
3621
 
3622
- }
3623
- else {
3624
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;contains&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) like \&#x27;%&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3625
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;startsWith&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) like \&#x27;&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3626
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;equals&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) &#x3D; \&#x27;&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3627
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;notContains&quot;) p.filter &#x3D; p.filter + &#x27;not upper(&#x27; + key + &#x27;) like \&#x27;%&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3622
+ }
3623
+ else {
3624
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;contains&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) like \&#x27;%&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3625
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;startsWith&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) like \&#x27;&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3626
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;equals&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) &#x3D; \&#x27;&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3627
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;notContains&quot;) p.filter &#x3D; p.filter + &#x27;not upper(&#x27; + key + &#x27;) like \&#x27;%&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3628
3628
 
3629
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;notEqual&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) &lt;&gt; \&#x27;&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;\&#x27;&#x27;;
3630
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;endsWith&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) like \&#x27;%&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;\&#x27;&#x27;;
3631
- // if(params.filterModel[key].type&#x3D;&#x3D;&quot;startsWith&quot;) p.filter &#x3D; p.filter +&#x27; upper(&#x27;+ key + &#x27;) like \&#x27;&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3632
- }
3629
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;notEqual&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) &lt;&gt; \&#x27;&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;\&#x27;&#x27;;
3630
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;endsWith&quot;) p.filter &#x3D; p.filter + &#x27; upper(&#x27; + key + &#x27;) like \&#x27;%&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;\&#x27;&#x27;;
3631
+ // if(params.filterModel[key].type&#x3D;&#x3D;&quot;startsWith&quot;) p.filter &#x3D; p.filter +&#x27; upper(&#x27;+ key + &#x27;) like \&#x27;&#x27; + params.filterModel[key].filter.replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;).toUpperCase() + &#x27;%\&#x27;&#x27;;
3632
+ }
3633
3633
 
3634
- }
3635
- if (params.filterModel[key].dateTo !&#x3D; null || params.filterModel[key].dateFrom !&#x3D; null) {
3636
- b_filter&#x3D;true;
3637
- if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3638
- p.filter &#x3D; p.filter + &#x27; (&#x27;;
3639
- if (params.filterModel[key].dateFrom !&#x3D; null &amp;&amp; params.filterModel[key].dateTo !&#x3D; null) p.filter &#x3D; p.filter + key + &quot;&gt;&#x3D;&#x27;&quot; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &quot;&#x27;&quot;
3640
- if (params.filterModel[key].dateTo !&#x3D; null) {
3641
- if (params.filterModel[key].dateFrom !&#x3D; null) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3642
- p.filter &#x3D; p.filter + key + &quot;&lt;&#x3D;&#x27;&quot; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateTo, 1)) + &quot;&#x27;&quot;
3643
- } else if (params.filterModel[key].dateFrom !&#x3D; null) {
3644
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;greaterThan&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &gt;&#x3D; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3645
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;equals&quot;) p.filter &#x3D; p.filter + &#x27; (&#x27; + key + &#x27; &gt;&#x3D;\&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27; and &#x27; + key + &#x27; &lt;&#x3D;\&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27; 23:59:00\&#x27;)&#x27;;
3646
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;notEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&gt; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3647
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;lessThan&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&#x3D; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3648
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;lessThanOrEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&#x3D; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3649
- if (params.filterModel[key].type &#x3D;&#x3D; &quot;greaterThanOrEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &gt;&#x3D; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3634
+ }
3635
+ if (params.filterModel[key].dateTo !&#x3D; null || params.filterModel[key].dateFrom !&#x3D; null) {
3636
+ b_filter &#x3D; true;
3637
+ if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3638
+ p.filter &#x3D; p.filter + &#x27; (&#x27;;
3639
+ if (params.filterModel[key].dateFrom !&#x3D; null &amp;&amp; params.filterModel[key].dateTo !&#x3D; null) p.filter &#x3D; p.filter + key + &quot;&gt;&#x3D;&#x27;&quot; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &quot;&#x27;&quot;
3640
+ if (params.filterModel[key].dateTo !&#x3D; null) {
3641
+ if (params.filterModel[key].dateFrom !&#x3D; null) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3642
+ p.filter &#x3D; p.filter + key + &quot;&lt;&#x3D;&#x27;&quot; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateTo, 1)) + &quot;&#x27;&quot;
3643
+ } else if (params.filterModel[key].dateFrom !&#x3D; null) {
3644
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;greaterThan&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &gt;&#x3D; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3645
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;equals&quot;) p.filter &#x3D; p.filter + &#x27; (&#x27; + key + &#x27; &gt;&#x3D;\&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27; and &#x27; + key + &#x27; &lt;&#x3D;\&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27; 23:59:00\&#x27;)&#x27;;
3646
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;notEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&gt; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3647
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;lessThan&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&#x3D; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3648
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;lessThanOrEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &lt;&#x3D; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3649
+ if (params.filterModel[key].type &#x3D;&#x3D; &quot;greaterThanOrEqual&quot;) p.filter &#x3D; p.filter + &#x27; &#x27; + key + &#x27; &gt;&#x3D; \&#x27;&#x27; + this.uti_s.sql_date(this.uti_s.string2date(params.filterModel[key].dateFrom, 1)) + &#x27;\&#x27;&#x27;;
3650
3650
 
3651
3651
 
3652
- }
3653
- p.filter &#x3D; p.filter + &#x27; )&#x27;;
3652
+ }
3653
+ p.filter &#x3D; p.filter + &#x27; )&#x27;;
3654
3654
 
3655
- }
3656
- } else {
3657
- // if(params.filterModel[key].length&gt;0)p.filter&#x3D; p.filter+&#x27; and &#x27;;
3658
- let sq: String &#x3D; &quot;&quot;;
3659
- console.log(params.filterModel[key].values);
3660
- if(params.filterModel[key].values!&#x3D;null)
3661
- for (let i: number &#x3D; 0; i &lt; params.filterModel[key].values.length; i++)
3662
- if (params.filterModel[key].values[i] !&#x3D; null) {
3663
- if (sq !&#x3D; &quot;&quot;) sq &#x3D; sq + &#x27;,&#x27;;
3664
- sq &#x3D; sq + &#x27;\&#x27;&#x27; + params.filterModel[key].values[i].replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;) + &#x27;\&#x27;&#x27;;
3665
- }
3666
- if (sq !&#x3D; &#x27;&#x27;) {
3667
- b_filter&#x3D;true;
3668
- if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3669
- p.filter &#x3D; p.filter + key + &#x27; in (&#x27; + sq + &#x27;)&#x27;;
3670
- }
3671
- else {
3672
- b_filter&#x3D;true;
3673
- if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and 1&#x3D;0&#x27;;
3674
- }
3675
- }
3676
- // }
3677
- }
3655
+ }
3656
+ } else {
3657
+ // if(params.filterModel[key].length&gt;0)p.filter&#x3D; p.filter+&#x27; and &#x27;;
3658
+ let sq: String &#x3D; &quot;&quot;;
3659
+ console.log(params.filterModel[key].values);
3660
+ if (params.filterModel[key].values !&#x3D; null)
3661
+ for (let i: number &#x3D; 0; i &lt; params.filterModel[key].values.length; i++)
3662
+ if (params.filterModel[key].values[i] !&#x3D; null) {
3663
+ if (sq !&#x3D; &quot;&quot;) sq &#x3D; sq + &#x27;,&#x27;;
3664
+ sq &#x3D; sq + &#x27;\&#x27;&#x27; + params.filterModel[key].values[i].replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;) + &#x27;\&#x27;&#x27;;
3665
+ }
3666
+ if (sq !&#x3D; &#x27;&#x27;) {
3667
+ b_filter &#x3D; true;
3668
+ if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and &#x27;;
3669
+ p.filter &#x3D; p.filter + key + &#x27; in (&#x27; + sq + &#x27;)&#x27;;
3670
+ }
3671
+ else {
3672
+ b_filter &#x3D; true;
3673
+ if (p.filter !&#x3D; &quot;&quot;) p.filter &#x3D; p.filter + &#x27; and 1&#x3D;0&#x27;;
3674
+ }
3675
+ }
3676
+ // }
3677
+ }
3678
3678
 
3679
- }
3679
+ }
3680
3680
  this.show_pulisci_filtri &#x3D; b_filter;
3681
3681
 
3682
3682
  //p.num_per_pag&#x3D;5000;
3683
- // console.log(this._gridservice);
3684
- this.str_curr_q_p &#x3D; &quot;&quot;;
3685
- if (p.filter !&#x3D; &quot;&quot;)
3686
- this.str_curr_q_p &#x3D; &quot;where &quot; + p.filter;
3687
- if (p.sort_field !&#x3D; &quot;&quot;)
3688
- this.str_curr_q_p &#x3D; this.str_curr_q_p + &quot; order by &quot; + p.sort_field;
3689
- this.curr_filter &#x3D; p.filter;
3683
+ // console.log(this._gridservice);
3684
+ this.str_curr_q_p &#x3D; &quot;&quot;;
3685
+ if (p.filter !&#x3D; &quot;&quot;)
3686
+ this.str_curr_q_p &#x3D; &quot;where &quot; + p.filter;
3687
+ if (p.sort_field !&#x3D; &quot;&quot;)
3688
+ this.str_curr_q_p &#x3D; this.str_curr_q_p + &quot; order by &quot; + p.sort_field;
3689
+ this.curr_filter &#x3D; p.filter;
3690
3690
 
3691
- this._gridservice.doQuery(p, true, this.end_point).subscribe(
3692
- data &#x3D;&gt; {
3693
- let ok_op: boolean &#x3D; false;
3694
- if (data !&#x3D; null)
3695
- if (data.result_msg &#x3D;&#x3D; &quot;OK&quot;) {
3696
- ok_op &#x3D; true;
3697
- // console.log(data.result_data);
3691
+ this._gridservice.doQuery(p, true, this.end_point).subscribe(
3692
+ data &#x3D;&gt; {
3693
+ let ok_op: boolean &#x3D; false;
3694
+ if (data !&#x3D; null)
3695
+ if (data.result_msg &#x3D;&#x3D; &quot;OK&quot;) {
3696
+ ok_op &#x3D; true;
3697
+ // console.log(data.result_data);
3698
3698
 
3699
- params.successCallback(data.result_data, data.count);
3699
+ params.successCallback(data.result_data, data.count);
3700
3700
 
3701
- this.b_init &#x3D; true;
3702
- this.myData &#x3D; data.result_data.slice();
3703
- this.num_r &#x3D; data.count;
3704
- this.slimLoadingBarService.complete();
3705
- this.fill_end.emit();
3701
+ this.b_init &#x3D; true;
3702
+ this.myData &#x3D; data.result_data.slice();
3703
+ this.num_r &#x3D; data.count;
3704
+ this.slimLoadingBarService.complete();
3705
+ this.fill_end.emit();
3706
3706
 
3707
- // console.log(&quot;end&quot;);
3708
- // console.log(localStorage.getItem(this.grid_key+&#x27;_POS&#x27;));
3709
- localStorage.setItem(this.grid_key + &#x27;_POS1&#x27;, JSON.stringify(p));
3710
- if (localStorage.getItem(this.grid_key + &#x27;_POS2&#x27;) !&#x3D; null)
3711
- if (this.gridOptions !&#x3D; null)
3712
- if (this.gridOptions.api !&#x3D; null)
3713
- this.gridOptions.api.forEachNode((node) &#x3D;&gt; {
3714
- // console.log(node)
3707
+ // console.log(&quot;end&quot;);
3708
+ // console.log(localStorage.getItem(this.grid_key+&#x27;_POS&#x27;));
3709
+ localStorage.setItem(this.grid_key + &#x27;_POS1&#x27;, JSON.stringify(p));
3710
+ if (localStorage.getItem(this.grid_key + &#x27;_POS2&#x27;) !&#x3D; null)
3711
+ if (this.gridOptions !&#x3D; null)
3712
+ if (this.gridOptions.api !&#x3D; null)
3713
+ this.gridOptions.api.forEachNode((node) &#x3D;&gt; {
3714
+ // console.log(node)
3715
3715
 
3716
- if (this.getRowNodeId(node) &#x3D;&#x3D;&#x3D; localStorage.getItem(this.grid_key + &#x27;_POS2&#x27;)) {
3716
+ if (this.getRowNodeId(node) &#x3D;&#x3D;&#x3D; localStorage.getItem(this.grid_key + &#x27;_POS2&#x27;)) {
3717
3717
 
3718
- node.setSelected(true);
3719
- localStorage.removeItem(this.grid_key + &#x27;_POS2&#x27;);
3720
- }
3721
- });
3722
- let b_mantieni_ck: boolean &#x3D; false;
3723
- if (this.toggle_mantieni !&#x3D; null) b_mantieni_ck &#x3D; this.toggle_mantieni.checked;
3718
+ node.setSelected(true);
3719
+ localStorage.removeItem(this.grid_key + &#x27;_POS2&#x27;);
3720
+ }
3721
+ });
3722
+ let b_mantieni_ck: boolean &#x3D; false;
3723
+ if (this.toggle_mantieni !&#x3D; null) b_mantieni_ck &#x3D; this.toggle_mantieni.checked;
3724
3724
 
3725
- if (this.no_pref &amp;&amp; !this.b_init1) {
3726
- this.autoSizeAll();
3725
+ if (this.no_pref &amp;&amp; !this.b_init1) {
3726
+ this.autoSizeAll();
3727
3727
 
3728
- }
3729
- this.b_init1 &#x3D; true;
3730
- this.ensure_visible();
3731
- if (!this.show_buttons &amp;&amp; this.first_ref) {
3732
- setTimeout(() &#x3D;&gt; {
3733
- this.autoSizeAll();
3734
- }, 300);
3735
- this.first_ref &#x3D; false;
3728
+ }
3729
+ this.b_init1 &#x3D; true;
3730
+ this.ensure_visible();
3731
+ if (!this.show_buttons &amp;&amp; this.first_ref) {
3732
+ setTimeout(() &#x3D;&gt; {
3733
+ this.autoSizeAll();
3734
+ }, 300);
3735
+ this.first_ref &#x3D; false;
3736
3736
 
3737
3737
 
3738
- } else if (localStorage.getItem(this.grid_key + &#x27;_COLS&#x27;) &#x3D;&#x3D; null)
3739
- setTimeout(() &#x3D;&gt; {
3740
- this.autoSizeAll();
3741
- }, 300);
3742
- //console.log(&#x27;xxxxxxxxxxxxxxxxxxx&#x27;);
3743
- // console.log(this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;].id);
3744
- //if(this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;]!&#x3D;null)
3738
+ } else if (localStorage.getItem(this.grid_key + &#x27;_COLS&#x27;) &#x3D;&#x3D; null)
3739
+ setTimeout(() &#x3D;&gt; {
3740
+ this.autoSizeAll();
3741
+ }, 300);
3742
+ //console.log(&#x27;xxxxxxxxxxxxxxxxxxx&#x27;);
3743
+ // console.log(this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;].id);
3744
+ //if(this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;]!&#x3D;null)
3745
3745
 
3746
3746
 
3747
- /*
3747
+ /*
3748
3748
 
3749
- this.gridOptions.api.forEachNode( (node) &#x3D;&gt;{
3750
- // select the node
3751
- // console.log(node.id+&#x27; &#x27;+this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;].id);
3752
- if(node.rowIndex&#x3D;&#x3D;parseInt(localStorage.getItem(this.grid_key+&#x27;_POS&#x27;))){
3753
- // console.log(node.id+&#x27; &#x27;+this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;].id);
3754
- node.setSelected(true);
3749
+ this.gridOptions.api.forEachNode( (node) &#x3D;&gt;{
3750
+ // select the node
3751
+ // console.log(node.id+&#x27; &#x27;+this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;].id);
3752
+ if(node.rowIndex&#x3D;&#x3D;parseInt(localStorage.getItem(this.grid_key+&#x27;_POS&#x27;))){
3753
+ // console.log(node.id+&#x27; &#x27;+this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;].id);
3754
+ node.setSelected(true);
3755
3755
 
3756
- }}*/
3756
+ }}*/
3757
3757
 
3758
- // if(this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;]!&#x3D;null)
3759
- //this.gridOptions.api.get(parseInt(localStorage.getItem(this.grid_key+&#x27;_POS&#x27;))).setSelected(true);
3758
+ // if(this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;]!&#x3D;null)
3759
+ //this.gridOptions.api.get(parseInt(localStorage.getItem(this.grid_key+&#x27;_POS&#x27;))).setSelected(true);
3760
3760
 
3761
- // console.log(this.myData);
3762
- }
3763
- if (!ok_op) {
3761
+ // console.log(this.myData);
3762
+ }
3763
+ if (!ok_op) {
3764
3764
 
3765
- this.errorMsg &#x3D; data.msg + &#x27; [&#x27; + data.result_msg + &#x27;]&#x27;;
3765
+ this.errorMsg &#x3D; data.msg + &#x27; [&#x27; + data.result_msg + &#x27;]&#x27;;
3766
3766
 
3767
- }
3768
- },
3769
- err &#x3D;&gt; {
3770
- this.errorMsg &#x3D; &quot;ERRORE DI CONNESSIONE CON IL SERVER. RITENTARE PIU&#x27; TARDI&quot;;
3771
- });
3767
+ }
3768
+ },
3769
+ err &#x3D;&gt; {
3770
+ this.errorMsg &#x3D; &quot;ERRORE DI CONNESSIONE CON IL SERVER. RITENTARE PIU&#x27; TARDI&quot;;
3771
+ });
3772
3772
 
3773
- // this.gridOptions.api.setDatasource(this.dataSource);
3773
+ // this.gridOptions.api.setDatasource(this.dataSource);
3774
3774
 
3775
- }
3776
- }</code>
3775
+ }
3776
+ }</code>
3777
3777
  </td>
3778
3778
  </tr>
3779
3779
 
@@ -3938,113 +3938,113 @@
3938
3938
  <tr>
3939
3939
  <td class="col-md-4">
3940
3940
  <i>Default value : </i><code>&lt;GridOptions&gt;{
3941
- debug: false,
3941
+ debug: false,
3942
3942
 
3943
- headerHeight: this.header_h,
3944
- floatingFilter: true,
3945
- enableRangeSelection: true,
3946
- defaultColDef:{resizable:true,sortable:true},
3943
+ headerHeight: this.header_h,
3944
+ floatingFilter: true,
3945
+ enableRangeSelection: true,
3946
+ defaultColDef: {resizable: true, sortable: true},
3947
3947
 
3948
- rowSelection: &#x27;multiple&#x27;,
3949
- rowDeselection: false,
3950
- // getContextMenuItems: () &#x3D;&gt; this.getContextMenuItems(),
3951
- allowContextMenuWithControlKey: true,
3952
- rowModelType: &#x27;infinite&#x27;,
3948
+ rowSelection: &#x27;multiple&#x27;,
3949
+ rowDeselection: false,
3950
+ // getContextMenuItems: () &#x3D;&gt; this.getContextMenuItems(),
3951
+ allowContextMenuWithControlKey: true,
3952
+ rowModelType: &#x27;infinite&#x27;,
3953
3953
 
3954
- localeText: {
3955
- // for filter panel
3956
- page: &#x27;pagina&#x27;,
3957
- more: &#x27;altre&#x27;,
3958
- to: &#x27;a&#x27;,
3959
- of: &#x27;di&#x27;,
3960
- next: &#x27;prossima&#x27;,
3961
- last: &#x27;ultima&#x27;,
3962
- first: &#x27;prima&#x27;,
3963
- previous: &#x27;precedente&#x27;,
3964
- loadingOoo: &#x27;Caricamento...&#x27;,
3965
- // for set filter
3966
- selectAll: &#x27;Seleziona Tutto&#x27;,
3967
- searchOoo: &#x27;Trova...&#x27;,
3968
- blanks: &#x27;Vuoto&#x27;,
3969
- // for number filter and text filter
3970
- filterOoo: &#x27;Filtro...&#x27;,
3971
- applyFilter: &#x27;Applica Filtro...&#x27;,
3972
- // for number filter
3973
- equals: &#x27;Uguale&#x27;,
3974
- notEqual: &#x27;Diverso&#x27;,
3975
- lessThan: &#x27;Minore&#x27;,
3976
- greaterThan: &#x27;Maggiore&#x27;,
3977
- // for text filter
3978
- notContains: &#x27;Non Contiene&#x27;,
3979
- contains: &#x27;Contiene&#x27;,
3980
- startsWith: &#x27;Inizia Con&#x27;,
3981
- endsWith: &#x27;Finisce Con&#x27;,
3982
- // the header of the default group column
3983
- group: &#x27;Gruppo&#x27;,
3984
- // tool panel
3985
- columns: &#x27;Colonne&#x27;,
3986
- rowGroupColumns: &#x27;Colonne Pivot&#x27;,
3987
- rowGroupColumnsEmptyMessage: &#x27;trascina le colonne per raggrupparle&#x27;,
3988
- valueColumns: &#x27;Colonne Valore&#x27;,
3989
- pivotMode: &#x27;Modalità Pivot&#x27;,
3990
- groups: &#x27;Gruppi&#x27;,
3991
- values: &#x27;Valori&#x27;,
3992
- pivots: &#x27;Pivots&#x27;,
3993
- valueColumnsEmptyMessage: &#x27;trascina le colonne per aggreare&#x27;,
3994
- pivotColumnsEmptyMessage: &#x27;trascina le colonne per pivot&#x27;,
3995
- // other
3996
- noRowsToShow: &#x27;nessun dato&#x27;,
3997
- // enterprise menu
3998
- pinColumn: &#x27;Sposta Colonna&#x27;,
3999
- valueAggregation: &#x27;Aggregazione&#x27;,
4000
- autosizeThiscolumn: &#x27;Autosize colonna&#x27;,
4001
- autosizeAllColumns: &#x27;Autosize tutte le colonne&#x27;,
4002
- groupBy: &#x27;Raggruppa per&#x27;,
4003
- ungroupBy: &#x27;Spacca per&#x27;,
4004
- resetColumns: &#x27;Resetta queste colonna&#x27;,
4005
- expandAll: &#x27;Espandi&#x27;,
4006
- collapseAll: &#x27;Chiudi&#x27;,
4007
- toolPanel: &#x27;Impostazioni&#x27;,
4008
- // enterprise menu pinning
4009
- pinLeft: &#x27;Sposta &lt;&lt;&#x27;,
4010
- pinRight: &#x27;Sposta &gt;&gt;&#x27;,
4011
- noPin: &#x27;Sposta &lt;&gt;&#x27;,
4012
- // enterprise menu aggregation and status panel
4013
- sum: &#x27;Somma&#x27;,
4014
- min: &#x27;Minimo&#x27;,
4015
- max: &#x27;Massimo&#x27;,
3954
+ localeText: {
3955
+ // for filter panel
3956
+ page: &#x27;pagina&#x27;,
3957
+ more: &#x27;altre&#x27;,
3958
+ to: &#x27;a&#x27;,
3959
+ of: &#x27;di&#x27;,
3960
+ next: &#x27;prossima&#x27;,
3961
+ last: &#x27;ultima&#x27;,
3962
+ first: &#x27;prima&#x27;,
3963
+ previous: &#x27;precedente&#x27;,
3964
+ loadingOoo: &#x27;Caricamento...&#x27;,
3965
+ // for set filter
3966
+ selectAll: &#x27;Seleziona Tutto&#x27;,
3967
+ searchOoo: &#x27;Trova...&#x27;,
3968
+ blanks: &#x27;Vuoto&#x27;,
3969
+ // for number filter and text filter
3970
+ filterOoo: &#x27;Filtro...&#x27;,
3971
+ applyFilter: &#x27;Applica Filtro...&#x27;,
3972
+ // for number filter
3973
+ equals: &#x27;Uguale&#x27;,
3974
+ notEqual: &#x27;Diverso&#x27;,
3975
+ lessThan: &#x27;Minore&#x27;,
3976
+ greaterThan: &#x27;Maggiore&#x27;,
3977
+ // for text filter
3978
+ notContains: &#x27;Non Contiene&#x27;,
3979
+ contains: &#x27;Contiene&#x27;,
3980
+ startsWith: &#x27;Inizia Con&#x27;,
3981
+ endsWith: &#x27;Finisce Con&#x27;,
3982
+ // the header of the default group column
3983
+ group: &#x27;Gruppo&#x27;,
3984
+ // tool panel
3985
+ columns: &#x27;Colonne&#x27;,
3986
+ rowGroupColumns: &#x27;Colonne Pivot&#x27;,
3987
+ rowGroupColumnsEmptyMessage: &#x27;trascina le colonne per raggrupparle&#x27;,
3988
+ valueColumns: &#x27;Colonne Valore&#x27;,
3989
+ pivotMode: &#x27;Modalità Pivot&#x27;,
3990
+ groups: &#x27;Gruppi&#x27;,
3991
+ values: &#x27;Valori&#x27;,
3992
+ pivots: &#x27;Pivots&#x27;,
3993
+ valueColumnsEmptyMessage: &#x27;trascina le colonne per aggreare&#x27;,
3994
+ pivotColumnsEmptyMessage: &#x27;trascina le colonne per pivot&#x27;,
3995
+ // other
3996
+ noRowsToShow: &#x27;nessun dato&#x27;,
3997
+ // enterprise menu
3998
+ pinColumn: &#x27;Sposta Colonna&#x27;,
3999
+ valueAggregation: &#x27;Aggregazione&#x27;,
4000
+ autosizeThiscolumn: &#x27;Autosize colonna&#x27;,
4001
+ autosizeAllColumns: &#x27;Autosize tutte le colonne&#x27;,
4002
+ groupBy: &#x27;Raggruppa per&#x27;,
4003
+ ungroupBy: &#x27;Spacca per&#x27;,
4004
+ resetColumns: &#x27;Resetta queste colonna&#x27;,
4005
+ expandAll: &#x27;Espandi&#x27;,
4006
+ collapseAll: &#x27;Chiudi&#x27;,
4007
+ toolPanel: &#x27;Impostazioni&#x27;,
4008
+ // enterprise menu pinning
4009
+ pinLeft: &#x27;Sposta &lt;&lt;&#x27;,
4010
+ pinRight: &#x27;Sposta &gt;&gt;&#x27;,
4011
+ noPin: &#x27;Sposta &lt;&gt;&#x27;,
4012
+ // enterprise menu aggregation and status panel
4013
+ sum: &#x27;Somma&#x27;,
4014
+ min: &#x27;Minimo&#x27;,
4015
+ max: &#x27;Massimo&#x27;,
4016
4016
 
4017
- none: &#x27;Nessuno&#x27;,
4018
- count: &#x27;Numero&#x27;,
4019
- average: &#x27;Media&#x27;,
4020
- // standard menu
4021
- copy: &#x27;Copia&#x27;,
4022
- ctrlC: &#x27;ctrl n C&#x27;,
4023
- paste: &#x27;Incolla&#x27;,
4024
- ctrlV: &#x27;ctrl n C&#x27;
4025
- },
4026
- getRowNodeId: function (item) {
4027
- // console.log(item);
4028
- if (item.ID !&#x3D; null)
4029
- return String(item.ID);
4030
- if (item.id !&#x3D; null)
4031
- return String(item.id);
4032
- if (item.uiid !&#x3D; null)
4033
- return item.uiid;
4034
- if (item.codice !&#x3D; null)
4035
- return item.codice;
4036
- if (item.id_doc !&#x3D; null)
4037
- return item.id_doc;
4038
- if (item.notesid !&#x3D; null)
4039
- return item.notesid;
4040
- if (item.ord !&#x3D; null)
4041
- return item.ord;
4017
+ none: &#x27;Nessuno&#x27;,
4018
+ count: &#x27;Numero&#x27;,
4019
+ average: &#x27;Media&#x27;,
4020
+ // standard menu
4021
+ copy: &#x27;Copia&#x27;,
4022
+ ctrlC: &#x27;ctrl n C&#x27;,
4023
+ paste: &#x27;Incolla&#x27;,
4024
+ ctrlV: &#x27;ctrl n C&#x27;
4025
+ },
4026
+ getRowNodeId: function (item) {
4027
+ // console.log(item);
4028
+ if (item.ID !&#x3D; null)
4029
+ return String(item.ID);
4030
+ if (item.id !&#x3D; null)
4031
+ return String(item.id);
4032
+ if (item.uiid !&#x3D; null)
4033
+ return item.uiid;
4034
+ if (item.codice !&#x3D; null)
4035
+ return item.codice;
4036
+ if (item.id_doc !&#x3D; null)
4037
+ return item.id_doc;
4038
+ if (item.notesid !&#x3D; null)
4039
+ return item.notesid;
4040
+ if (item.ord !&#x3D; null)
4041
+ return item.ord;
4042
4042
 
4043
4043
 
4044
- }
4044
+ }
4045
4045
 
4046
4046
 
4047
- }</code>
4047
+ }</code>
4048
4048
  </td>
4049
4049
  </tr>
4050
4050
 
@@ -4393,8 +4393,8 @@
4393
4393
 
4394
4394
  <div class="tab-pane fade " id="c-styleData">
4395
4395
  <pre class="line-numbers"><code class="language-scss">
4396
-
4397
-
4396
+
4397
+
4398
4398
  </code></pre>
4399
4399
  </div>
4400
4400