Asking CRUD Sample for dthmlxGrid / Spring / IBatis / Java

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.

  1. How can I get some DB operation code for insert, update, delete operation ?

  2. if possioble, please provide two different case, using DataProcessor case and not using DataProcessor case.

  3. 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");

}

}

============================================

  1. How can I get some DB operation code for insert, update, delete operation ?
    In the java connector package you can find various samples of dhtmlxgrid in “samples/grid” directory. Al the sample are using the dhtmlxDataprocessor which allows to insert/update/delete the data base data.

  2. if possioble, please provide two different case, using DataProcessor case and not using DataProcessor case.
    samples using the dataprocessor you can find in the connector package. Unfortunately we have no samples with the direct insert, update, delete database operations. You will have to create your own custom logic

  3. Can you tell me your recommendation which is better for implementation.
    dhtmlxdataprocessor completely compatible with dhtmlxgrid and allows you modify database data with the minimal configuring process.
    without dhtmlxdataprocessor you will have to create your own custom logic to send data to the server-side.
    So, I suggest you to use the ready component which was created for dealing with server-side.

Thanks for your reply ~.

We are ready to use spring framework .
I’d like to know how to connect client dataprocessor with spring’s Controller, Service, DAO (ibatis).

Can you provide more guide regarding dhtmlx + spring connect ?

Unfortunately we have no samples of dhtmlxDataprocessor with Spring, but it should work correctly.