We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to refer to Syncfusion.EJ dll and use the POST method for Datamanager ( 2 )

Thread ID:

Created:

Updated:

Platform:

Replies:

122053 Feb 11,2016 07:51 PM Feb 11,2016 11:53 PM JavaScript 1
loading
Tags: ejGrid
Myungjin Cho
Asked On February 11, 2016 07:51 PM

Hello Syncfusion.

I would like to answer the questions whichVenkatesh Ayothi Ramanhave replied

THREAD ID :121949


1) Can you please share your execute query ?

Here is the Query which is used while using the POST request

select SQL_CALC_FOUND_ROWS b.*
from
(select
a.id as storeId
, a.name as storeName
, a.description as storeDesc
, cc.mark_name as storeType
, cc.code_name as storeTypeCode
, if(
(select getCommCodeCodeNameByCodeId(type, #lang#) from beacon.account acc where id = a.par_acc_id) = 'GROUP'
, (select name from beacon.account acc2 where id = a.par_acc_id)
, '') as parGroupName
, a.create_date as createDate
from beacon.account a
join beacon.comm_code cc on a.type = cc.id and cc.lang = #lang#

where $strSVCType$

limit #skipCount#, #pageSize#



2) Are you using Servlet mapping action ?

Yes, I am using Spring, and using the mapping action, here are the sample below

@Controller
@RequestMapping("/beacon/test")
public class testController extends BeaconBaseController{

......

@RequestMapping(value="/sync/getStoreListSync.do", method = RequestMethod.POST)
public @ResponseBody DataResult getStoreListSync(HttpServletRequest request, @RequestBody DataRequest drs){

......
return dr;
}


3) .do extension is file or mapping action

As written in the sample below, mapping action is used in the POST request

@RequestMapping(value="/sync/getStoreListSync.do", method = RequestMethod.POST)
public @ResponseBody DataResult getStoreListSync(HttpServletRequest request, @RequestBody DataRequest drs){


K Kalai Selvi [Syncfusion]
Replied On February 11, 2016 11:53 PM

Hi Maverick,
 
We have transferred the details shared with this forum to the relevent forum thread 121949. Please follow up with the forum 121949 for further updates. Also we request you to post your related queries/ updates in that forum for better follow up.
 
Regards,
Kalaiselvi

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;