Hi
Problem with alpha version newest than 3962-4772
I found out that I have a problem when I try to show items on list if I use SQLite functions like the one shown below with SQLite functions.
var _dbName = 'db5.db';
var _sql = 'select CustomerID,CompanyName,Address from Customers where CustomerID LIKE ?'
var _args = (function() { var str ={dialog.object}.getValue('idcliente');
var str1 = str.concat('%');
return [str1];})();
var _success = function(tx,result,resultArray) { {dialog.object}.setListColumnsAndPopulate('list1',resultArray);};
var _error = function(e) { };
_onTxSuccess = function() {/*transaction success */ };
_onTxError = function() {/*transaction error */ };
{dialog.object}.SQLiteExecuteSQL(_dbName,_sql,_args,_success,_error,_onTxSuccess,_onTxError);
Photo shown on this link:
withlatestalpha.jpeg
With version 3962-4772 used to look like this
withalpha3962-4772.jpeg
This is the component I am using, the db can be northwind or MySQL, it doesn't matter,
https://www.dropbox.com/s/5ami02l8bj...rm.a5wcmp?dl=0
This is the config files for 3962-4772 version since it is a little tricky to put the plugins and get it to work sometimes.
https://www.dropbox.com/s/q8inm1us4v...onfig.xml?dl=0
I really would like to know how can I massage the data in ResultArray so that the list can look in freeform Vertical with the newest version of alpha
Thanks for any help is appreciated
Problem with alpha version newest than 3962-4772
I found out that I have a problem when I try to show items on list if I use SQLite functions like the one shown below with SQLite functions.
var _dbName = 'db5.db';
var _sql = 'select CustomerID,CompanyName,Address from Customers where CustomerID LIKE ?'
var _args = (function() { var str ={dialog.object}.getValue('idcliente');
var str1 = str.concat('%');
return [str1];})();
var _success = function(tx,result,resultArray) { {dialog.object}.setListColumnsAndPopulate('list1',resultArray);};
var _error = function(e) { };
_onTxSuccess = function() {/*transaction success */ };
_onTxError = function() {/*transaction error */ };
{dialog.object}.SQLiteExecuteSQL(_dbName,_sql,_args,_success,_error,_onTxSuccess,_onTxError);
Photo shown on this link:
withlatestalpha.jpeg
With version 3962-4772 used to look like this
withalpha3962-4772.jpeg
This is the component I am using, the db can be northwind or MySQL, it doesn't matter,
https://www.dropbox.com/s/5ami02l8bj...rm.a5wcmp?dl=0
This is the config files for 3962-4772 version since it is a little tricky to put the plugins and get it to work sometimes.
https://www.dropbox.com/s/q8inm1us4v...onfig.xml?dl=0
I really would like to know how can I massage the data in ResultArray so that the list can look in freeform Vertical with the newest version of alpha
Thanks for any help is appreciated