Hi there ~
I am a new starter with dthmlx and I urgently trying to find some samples with java, spring, ibatis tech. for our newly start project.
I’ve checked forum and get a sample zip file named dhtmlxConnector_java_v15_120612.zip
but for my short knowledge… there’s only code for fetching grid list as shown below.
-
How can I get some DB operation code for insert, update, delete operation ?
-
if possioble, please provide two different case, using DataProcessor case and not using DataProcessor case.
-
Can you tell me your recommendation which is better for implementation.
= Sample Code Snippet =======================
import java.sql.Connection;
import com.dhtmlx.connector.*;
public class grid_01a_sql_basic_connector extends ConnectorServlet {
@Override
protected void configure() {
Connection conn= ( new DataBaseConnection()).getConnection();
GridConnector c = new GridConnector(conn);
String sql = "SELECT * FROM grid50";
c.render_sql(sql,"item_id","item_nm,item_cd");
}
}
============================================