Quote from llazzari on June 8, 2020, 5:19 pmHo un problema con la formattazione di una tabella, lasciare vuoto il campo della subroutine la tabella viene caricata, qui tutto bene, inserendo la subroutine la tabella non viene caricata. premetto che i dati non provengono da un database esterno ma da valori collegati nell'App, ho dovuto portare la parte della custodia per la creazione della tabella nel pulsante che esegue i calcoli, questo perché i valori delle variabili dei calcoli non caricati.
English:
I have a problem with the formatting of a table, leaving the subroutine field empty the table is loaded, everything is fine here, inserting the subroutine the table is not loaded. I state that the data does not come from an external database but from values connected in the App, I had to bring the part of the case for the creation of the table in the button that performs the calculations, this because the values of the variables of the calculations not loaded.
Ho un problema con la formattazione di una tabella, lasciare vuoto il campo della subroutine la tabella viene caricata, qui tutto bene, inserendo la subroutine la tabella non viene caricata. premetto che i dati non provengono da un database esterno ma da valori collegati nell'App, ho dovuto portare la parte della custodia per la creazione della tabella nel pulsante che esegue i calcoli, questo perché i valori delle variabili dei calcoli non caricati.
English:
I have a problem with the formatting of a table, leaving the subroutine field empty the table is loaded, everything is fine here, inserting the subroutine the table is not loaded. I state that the data does not come from an external database but from values connected in the App, I had to bring the part of the case for the creation of the table in the button that performs the calculations, this because the values of the variables of the calculations not loaded.

Quote from luishp on June 8, 2020, 8:51 pm@llazzari I don't understand you very well. Can you share a sample?
Anyway take a look at the Web Browser Console (F12) perhaps you will find there some error message.
Regards.
@llazzari I don't understand you very well. Can you share a sample?
Anyway take a look at the Web Browser Console (F12) perhaps you will find there some error message.
Regards.
Quote from llazzari on June 9, 2020, 6:47 pm
neoTableSetColumn "BasicTableContainer" 1 "tramezza" "Tramezza" "140px" false false false ""
Every thing fine here
is
neoTableSetColumn "BasicTableContainer" 1 "tramezza" "Tramezza" "140px" false false false "fmtAge"
fmtAge --Return "<span style='font-size:8px;'>[cellData]</span>"
the table is not loaded
these are the mistakes
Error: [$rootScope:inprog] http://errors.angularjs.org/1.7.7/$rootScope/inprog?p0=$apply
at p (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:146:165)
at m.prototype.$apply (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:154:454)
at Anonymous function (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:169:386)
at completeTask (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:166:15)
at Anonymous function (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:52:1)
Error: [$rootScope:inprog] http://errors.angularjs.org/1.7.7/$rootScope/inprog?p0=$apply
at p (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:146:165)
at m.prototype.$digest (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:151:46)
at m.prototype.$apply (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:155:33)
at Anonymous function (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:169:386)
at completeTask (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:166:15)
at Anonymous function (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:52:1)
[$rootScope:inprog] http://errors.angularjs.org/1.7.7/$rootScope/inprog?p0=$apply (angular.min.js, 155)
[object Object]
TypeError: Impossibile recuperare la proprietà 'fixedScroll' di un riferimento nullo o non definito
at value (file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neotable/bootstrap-table.min.js:10:52866)
at Anonymous function (file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neotable/bootstrap-table.min.js:10:67882)
at each (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/jquery.min.js:2:2767)
at k.prototype.each (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/jquery.min.js:2:1410)
at s.fn.bootstrapTable (file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neotable/bootstrap-table.min.js:10:67622)
at neoTableLoadData (file:///C:/Users/Luca/Desktop/APP COSTRUZIONI/costruzioni_Test/main.js?v=3:915:11049)
at $scope.PushButton20_click (file:///C:/Users/Luca/Desktop/APP COSTRUZIONI/costruzioni_Test/main.js?v=3:885:1)
at fn (Function code:2:173)
at e (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:198:40)
at m.prototype.$eval (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:154:228)
I also have this problem I can't reset the values of the variables, I try with SetVar [test] "" or with
SetVar [test] 0 but it doesn't work
neoTableSetColumn "BasicTableContainer" 1 "tramezza" "Tramezza" "140px" false false false ""
Every thing fine here
is
neoTableSetColumn "BasicTableContainer" 1 "tramezza" "Tramezza" "140px" false false false "fmtAge"
fmtAge --Return "<span style='font-size:8px;'>[cellData]</span>"
the table is not loaded
these are the mistakes
Error: [$rootScope:inprog] http://errors.angularjs.org/1.7.7/$rootScope/inprog?p0=$apply
at p (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:146:165)
at m.prototype.$apply (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:154:454)
at Anonymous function (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:169:386)
at completeTask (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:166:15)
at Anonymous function (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:52:1)
Error: [$rootScope:inprog] http://errors.angularjs.org/1.7.7/$rootScope/inprog?p0=$apply
at p (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:146:165)
at m.prototype.$digest (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:151:46)
at m.prototype.$apply (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:155:33)
at Anonymous function (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:169:386)
at completeTask (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:166:15)
at Anonymous function (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:52:1)
[$rootScope:inprog] http://errors.angularjs.org/1.7.7/$rootScope/inprog?p0=$apply (angular.min.js, 155)
[object Object]
TypeError: Impossibile recuperare la proprietà 'fixedScroll' di un riferimento nullo o non definito
at value (file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neotable/bootstrap-table.min.js:10:52866)
at Anonymous function (file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neotable/bootstrap-table.min.js:10:67882)
at each (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/jquery.min.js:2:2767)
at k.prototype.each (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/jquery.min.js:2:1410)
at s.fn.bootstrapTable (file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neotable/bootstrap-table.min.js:10:67622)
at neoTableLoadData (file:///C:/Users/Luca/Desktop/APP COSTRUZIONI/costruzioni_Test/main.js?v=3:915:11049)
at $scope.PushButton20_click (file:///C:/Users/Luca/Desktop/APP COSTRUZIONI/costruzioni_Test/main.js?v=3:885:1)
at fn (Function code:2:173)
at e (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:198:40)
at m.prototype.$eval (file:///C:/Users/Luca/Documents/VisualNeoWeb/Libraries/js/angular.min.js:154:228)
I also have this problem I can't reset the values of the variables, I try with SetVar [test] "" or with
SetVar [test] 0 but it doesn't work

Quote from luishp on June 9, 2020, 7:29 pm@llazzari
- It's necessary to add [cellData] as a parameter in your fmtAge subroutine. See attached image.
- Not sure what do you mean with "reset values of the variables" but perhaps you want to use DeleteVar command.
Let me know if this works for you.
Regards.
Let me know if this works for you.
Regards.
Uploaded files:Quote from llazzari on June 9, 2020, 9:11 pm
Thanks luishp
The [cellData] parameter was already affixed,
I deleted two variables that I wasn't using for application calculations, then it worked. I used the Deletvar method. the values are deleted, but if I reopen the table I press the key calculate with the reset values. do they reappear in the table is it normal?
Thanks luishp
The [cellData] parameter was already affixed,
I deleted two variables that I wasn't using for application calculations, then it worked. I used the Deletvar method. the values are deleted, but if I reopen the table I press the key calculate with the reset values. do they reappear in the table is it normal?

Quote from luishp on June 10, 2020, 5:16 pmDeletvar method. the values are deleted, but if I reopen the table I press the key calculate with the reset values. do they reappear in the table is it normal?
I don't know what you are doing exactly. Anyway as you just want to reset the values, why not reinitialize the whole table?
Deletvar method. the values are deleted, but if I reopen the table I press the key calculate with the reset values. do they reappear in the table is it normal?
I don't know what you are doing exactly. Anyway as you just want to reset the values, why not reinitialize the whole table?