Announcement

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

    Criteria

    Hi guys,
    I am new to the "Criteria topic". My requriment is to create criteria and display related record on the ListGrid. Please post any example of smartclient related to this topic.

    #2
    Criteria crit = new Criteria("CATNAME", "Fluffy");
    ListGrid grid = new ListGrid(catDataSource);
    grid.fetchData(crit);


    Javadoc:
    http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/data/Criteria.html

    QuickStart guide:
    http://www.smartclient.com/releases/SmartGWT_Quick_Start_Guide.pdf

    Comment


      #3
      Hi aklopp,
      I was developing in the smartclient. so please send me the references in the smartclient(javascript).

      Comment


        #4
        Wiki link

        There are examples in the wiki:

        http://wiki.smartclient.com/display/Main/Isomorphic+Public+Wiki

        Comment


          #5
          wiki link

          I used below code as a reference for my requirement. It is not applying criteria {lastname:"Glover"}

          contactsList.fetchData(
          {lastname:"Glover"}
          );

          Comment

          Working...
          X