Hi Isomorphic
I use DSRequest.setPrompt("Please wait...Loading") message in custom operation call in a listgrid.
I use following code in grid custom operation.
DSRequest dsreq=new DSRequest();
dsreq.setPrompt("Please wait...Loading");
dsreq.setShowPrompt(true); dsreq.setPromptStyle(PromptStyle.DIALOG);
Grid1.getDataSource().performCustomOperation("gridValueChanged", data,new DSCallback() {
@Override
public void execute(DSResponse response,Object rawData,DSRequest request) {
//---------------Logic after return from server----------//
},dsreq);
I want to show this dialog only when dsRequest takes more than 5 sec time.otherwise it will not prompt anything.
Currently it is showing every time when operation starts whether it is 1 sec or less than one sec.
Is it possible to do in custom operation or any dsRequest. ???
Please help ?
I am using ........
SmartClient Version: v8.3_2012-11-20/PowerEdition Deployment (built 2012-11-20)
Browser...
1. Mozila 25.0.1
2.Chrome Version 34.0.1847.116 m
3. IE 9.0
Window 7 , 64 bit (jdk 1.7.0_45)
I use DSRequest.setPrompt("Please wait...Loading") message in custom operation call in a listgrid.
I use following code in grid custom operation.
DSRequest dsreq=new DSRequest();
dsreq.setPrompt("Please wait...Loading");
dsreq.setShowPrompt(true); dsreq.setPromptStyle(PromptStyle.DIALOG);
Grid1.getDataSource().performCustomOperation("gridValueChanged", data,new DSCallback() {
@Override
public void execute(DSResponse response,Object rawData,DSRequest request) {
//---------------Logic after return from server----------//
},dsreq);
I want to show this dialog only when dsRequest takes more than 5 sec time.otherwise it will not prompt anything.
Currently it is showing every time when operation starts whether it is 1 sec or less than one sec.
Is it possible to do in custom operation or any dsRequest. ???
Please help ?
I am using ........
SmartClient Version: v8.3_2012-11-20/PowerEdition Deployment (built 2012-11-20)
Browser...
1. Mozila 25.0.1
2.Chrome Version 34.0.1847.116 m
3. IE 9.0
Window 7 , 64 bit (jdk 1.7.0_45)
Comment