Jump to content

Recommended Posts

Posted
I create a component with a store and proxy.
 
 JSConfigObject('proxy',
                  [
                      'type', 'ajax',
                      'url', JSStatement(GetEventUrl(FEventStore, 'evdata')),
                      'reader', JSObject(['type', 'json','root','Event']),
                      'timeout', UniServerInstance.AjaxTimeout
                  ],
              FEventStore);
 
 JSConfig('autoLoad',['true'],FEventStore);

.
procedure TMyComponent.EventHandleDatasource();
var
 strevent : string;
begin
 . . .
 UniSession.JSONDirect(strevent);
 . . .
end;

it work's.
 
 
Now I connected uniDBEdit to Datasource.
No work.
 
I found in Browser:
 
 
With UniDBEdit callback:
{metaData:[....
.........
.....]}

O49.stateValue="06000000A42FEE0375010000";
_sfv_(O49,0,"28.01.2016 07:00:00");
 
Object O49 is UniDBEdit.
 
 
 
Without UniDBEdit callback:
 
{metaData:[....
.........
.....]}
 
 
 
Thank's

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...