This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 1, 2011, 1:52 AM
25 Posts

Re: How can I get the javascript object for a REST service control ?

  • Category: Extension Library
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 4
 Petter,
 
 Well, I was thinking of an RPC service and actually replied with that information until I realized that was wrong. So.... the examples you showed should be able to find the REST service. You may want to try dojo.query to attempt to locate the object by trying:
 
var storeID = dojo.query("[id$='restServiceMail']");
var MailStore = dijit.byId(storeID[0].id);
 
and then use that storeID in your grid.
 
HTH 
Keith 
Sep 2, 2011, 12:41 PM
31 Posts
Re: How can I get the javascript object for a REST service control ?
Hi Keith,
 
I've now tried setting the store to both storeID and MailStore. 
 
No luck so far..
 
When using storeID I get: "this.store.getFeatures is not a function"
 Alerting storeID I get: view:_id1:_id44:pageTabContainer:tabContacts:_id45:_id112:detailsTabContainerContacts:djTabPanel11:restServiceMail
 
When using MailStore I get no error message, but it doesn't work..
Alerting MailStore I get: MailStore not defined.
 
My goal here is to be able to filter a grid (using a restService) client side without having to refresh the store/grid ?
I would like for the user to be able to select values from a drop down field, and have the grid filtered (by column value) on the selected values.
 
Any ideas ?
 
Thanks !
 
regards,
Petter 
 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal