Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Obtain component object using String method

    In the XML format of component defination,how can I get the component object using the string method except using component‘s id ? Or can you tell me where I can find documents about these components' function definations ?For example,can you recommand me a way to implement fetchData for a listGrid with string method?
    .smartgwtee-4.0p、ie9.0、eclipse
    Last edited by xu; 17 Jul 2013, 01:56.

    #2
    It's not clear what you're asking - are you trying to see how you could make a call to fetchData() *inside* of a Component XML file?

    While this is possible, it would basically mean you are using the SmartClient APIs and writing in JavaScript. If you'd like to do that, take a look at the SmartClient documentation for Component XML, which has several sections on how to use JavaScript within Component XML.

    Comment

    Working...
    X