DHtmlxGrid Edit with Salesforce.com

Hello,

I need to used dhtmlx Grid with Salesforce. I am able to load data but I am not able to handle data manipulation like update, insert new and delete actions. Can anyone please help me?

Thank You,
Sally

Please, try to use the dataProcessor:
docs.dhtmlx.com/doku.php?id=dhtm … cessor:toc

Hello,

I really want to work with data processor and I started but I didn’t know how to proceed.

====> var dp = new dataProcessor(url)
dp.init(myobj)
====> what is this URL value should be?

I have an apex class with functions for insert,update and delete. How can I link these classes to the data processor?

Please I need your help and advice urgently.

Thank You,
Sally EL Ghoul

Please open dhtmlxgrid samples in your suit directory.
For example:
“dhtmlxSuite_Pro_v35_120731\dhtmlxGrid\samples\04_dataprocessor”
in that directory you will find different examples of usage of daataprocessor with grid.

var dp = new dataProcessor(url)
what is this URL value should be?

In that directory you will also find “php” directory with the examples of the code that you need for inserting/updating/deleting the data from the database.

Hello,

Thank you for your reply but I am working with salesforce and I need to perform CRUD operation using apex code not php. Is there any way to do that? Is there anyway to create even custom connectore instead of the php connector?

Thank you,
Sally

The client side code can work with any server side, it just sends the info about client side updates and expect the xml response in specific format.

Check next link for more details about data sending protocol

docs.dhtmlx.com/doku.php?id=dhtm … gprinciple

Hi Sally

I need to used dhtmlx Grid with Salesforce. But I can’t able to load data in grid.
I think … i have problem with in parsing data…

can you help me… can you share a demo code. then i will move ahead.
Thanks