Hi All,
Can anybody tell me the procedure of how to connect to a database (say MySQL) and fetch some data(rows may be in lakhs) and display it in a grid.
I coundn’t find enough information in the SmartClient Documentration.
Thanks,
K. Siva Prasad
Hi All,
Can anybody tell me the procedure of how to connect to a database (say MySQL) and fetch some data(rows may be in lakhs) and display it in a grid.
I coundn’t find enough information in the SmartClient Documentration.
Thanks,
K. Siva Prasad
If you’re using the SmartClient server, this is as simple as configuring your database connection in the Admin Console, setting it as the default and then creating a SQL DataSource. You will also need to download a JDBC driver for your database, and drop it into WEB-INF/lib.
If you’re not using the SmartClient server (eg, if you’re using SmartClient LGPL), there is no way to connect directly to a database - you will have to integrate with your own server in one of the ways described here
Need a sample app to interact with database
Yes, I am not using SmartClient server, but using SmartClient LGPL Evaluation.
I am trying to handle Server side code myself but I am not able to find out the link between the server-side code and the SmartClient front end JS.
Can you please let me know, how does the frond end Smartclient JS provide inputs to the Server-side code say if we perform operations such as Sorting or Filtering?
I appreciate your response in this regard.
I am basically trying to evaluate SmartClient and develop a small demo for my manager.
Thanks,
K. Siva Prasad
Yes - see the previously provided link discussing how you can integrate with your server. Here it is again:
http://www.smartclient.com/docs/6.5.1/a/b/c/go.html#group..clientDataIntegration