Clearing datagrid - Forum - Mobile - Progress Community

Clearing datagrid

 Forum

Clearing datagrid

This question is not answered

Hi there,

I am wanting to find out how you would clear a datagrid without doing an appserver hit?

thanks,

Meyrick.

All Replies
  • Hello Meyrick,

    If you do not need to have local data in the JSDO memory, you could use addRecords() with the EMPTY option to clear the JSDO memory then call the READ service using readLocal = true.

    A simple way to have set reaLocal true is to create a second instance of the READ service and set readLocal = true in the parameters of the service.

    I hope this helps.

  • Thank you once again Edsel, this worked perfectly.
     

    Meyrick Flanegan

    Developer - Managed Services

    Email: mflanegan@elcb.co.za

     

    ELCB Information Services (Pty) Ltd

    Customer Service Email  elcb@elcb.co.za · www.elcb.co.za

    E A S T  L O N D O N

    Tel: +27(43)  704 0700

    Fax: +27(43) 704 0701

    J O H A N N E S B U R G

    Tel: +27(11) 879 6179

    Fax: +27(11) 454 0384

    P O R T  E L I Z A B E T H

    Tel: +27(41) 373 0529

    Fax: +27(86) 650 0135

    Disclaimer


    From: egarcia [mailto:bounce-egarcia@community.progress.com]
    Sent: 13 February 2015 02:26 PM
    To: TU.Mobile@community.progress.com
    Subject: RE: [Technical Users - Mobile] Clearing datagrid
     
    Reply by egarcia

    Hello Meyrick,

    If you do not need to have local data in the JSDO memory, you could use addRecords() with the EMPTY option to clear the JSDO memory then call the READ service using readLocal = true.

    A simple way to have set reaLocal true is to create a second instance of the READ service and set readLocal = true in the parameters of the service.

    I hope this helps.

    Stop receiving emails on this subject.

    Flag this post as spam/abuse.