Announcement

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

    DataSource purpose?

    What is the purpose/function of DataSource in SmartGWT?

    What does the following line of code is doing using:

    symbolGrid.setDataSource(dataSource);


    version SmartGWT : 2.5

    #2
    A DataSource is data-provider-independent description of a set of objects that will be loaded, edited and saved within the user interface of your application.

    Once a DataSource has been defined, it can be used to provide data for a number of data-bound widgets such as ListGrid, TreeGrid, DynamicFrom, TileGrid, Calendar, FilterBuilder, PickTree and SelectItem. These widgets render the UI automatically from the data source with. If necessary, overrides can be specified on a widget to widget basis. The configuration that is used by the widget for rendering its UI is essentially combination / merge of the information in the DataSource and any widget specific overrides applied by the developer.

    In Short DataSource is a cache containing our backend data at the application level that are bound with our components

    Comment


      #3
      For a novice, this answer is difficult to digest. It would be appreciated if the reply is simple enough to understand for a newbie in SmartGWT.

      Comment


        #4
        In simple language Datasource is a small virtual area in the application where the data from your database has been fetched, now you can do the insert,update,delete and fetch operation. To perform the Insert operation you can define the code in the add() method of the particular Datasource on the server-side. similarly update(), fetch() and remove().

        Comment


          #5
          Thanks got it.

          Need your help in SmartGUI layout issue mentioned below:

          In my project , i have the requirement of creating a form having tabs
          on it and this form has
          a ComboBox. TextBox and a Button on it,

          Unable to make it using SmartGWT drag and drop GUI facility in
          Eclipse.

          I have made a entry point class that is extended from Canvas.I am
          putting above mentioned widgets on VLayout,HLayout but unable to get
          the desired one.

          Required features are drawn in a image attached herewith.

          Kindly suggest how can i make it and sequence of doing it.

          Version SmartGWT : 2.5
          Attached Files

          Comment


            #6
            SBTec if you continue to post everything 3 times (including starting other threads) you will be banned. Post each message once at most. If you decide to post a new thread, delete the old message and point to the new thread instead.

            Comment


              #7
              Originally posted by Isomorphic
              SBTec if you continue to post everything 3 times (including starting other threads) you will be banned. Post each message once at most. If you decide to post a new thread, delete the old message and point to the new thread instead.

              I respect your concern for maintaining the discussion but highly disappointed by the level of support here by the administrator and other members.

              It was a simple query asked but no satisfactory reply on it indicates the non productive , un-supportive attitude.


              Asked the administrative over an issue and besides answering to those , admin started threatening .Below query remains unanswered

              http://forums.smartclient.com/showthread.php?t=22106



              Is that a paid forum to get the queries to answer..............

              Comment


                #8
                Originally posted by Isomorphic
                SBTec if you continue to post everything 3 times (including starting other threads) you will be banned. Post each message once at most. If you decide to post a new thread, delete the old message and point to the new thread instead.

                There is no user-friendly way to easily delete the previous threads and if so , would u like to share it with me admin besides threatening to block etccc

                Comment


                  #9
                  Originally posted by Isomorphic
                  SBTec if you continue to post everything 3 times (including starting other threads) you will be banned. Post each message once at most. If you decide to post a new thread, delete the old message and point to the new thread instead.

                  Level of support should be such of level that encourage developers to use your product but it looks otherwise by the threatening attitude.

                  If you answer such simply queries commercially then i doubt your market existence.

                  Comment


                    #10
                    Originally posted by SBTec
                    Level of support should be such of level that encourage developers to use your product but it looks otherwise by the threatening attitude.

                    If you answer such simply queries commercially then i doubt your market existence.

                    I am sorry to say about the non-supportive attitude and un-friendly user interface options.............

                    Go a head and block. We have better options available and i hope people will stand for quality of support

                    Comment


                      #11
                      Your question about DataSources is answered expansively in the intro materials, and in your other thread, you clearly did not read the FAQ you were referred to.

                      We don't waste time on users who behave this way - other users deserve our attention instead.

                      By all means, use another technology.

                      Comment


                        #12
                        Originally posted by Isomorphic
                        SBTec if you continue to post everything 3 times (including starting other threads) you will be banned. Post each message once at most. If you decide to post a new thread, delete the old message and point to the new thread instead.
                        There should be search button there to see through. Otherwise it is difficult to dig out each time from the very scratch.


                        Explicitly share with every body that what is the purpose for creating such a forum , either it has a commercial interest or for general purpose and if answer is the later one then such support should be provided otherwise you are demotivating developers using your product.

                        Comment


                          #13
                          Originally posted by Isomorphic
                          Your question about DataSources is answered expansively in the intro materials, and in your other thread, you clearly did not read the FAQ you were referred to.

                          We don't waste time on users who behave this way - other users deserve our attention instead.

                          By all means, use another technology.

                          Underlying query shown below between is unanswered which is of concern

                          "Need your help in SmartGUI layout issue mentioned below:

                          In my project , i have the requirement of creating a form having tabs
                          on it and this form has
                          a ComboBox. TextBox and a Button on it,

                          Unable to make it using SmartGWT drag and drop GUI facility in
                          Eclipse.

                          I have made a entry point class that is extended from Canvas.I am
                          putting above mentioned widgets on VLayout,HLayout but unable to get
                          the desired one.

                          Required features are drawn in a image attached herewith.

                          Kindly suggest how can i make it and sequence of doing it.

                          Version SmartGWT : 2.5"

                          Comment


                            #14
                            Originally posted by shraddha.bhatt
                            A DataSource is data-provider-independent description of a set of objects that will be loaded, edited and saved within the user interface of your application.

                            Once a DataSource has been defined, it can be used to provide data for a number of data-bound widgets such as ListGrid, TreeGrid, DynamicFrom, TileGrid, Calendar, FilterBuilder, PickTree and SelectItem. These widgets render the UI automatically from the data source with. If necessary, overrides can be specified on a widget to widget basis. The configuration that is used by the widget for rendering its UI is essentially combination / merge of the information in the DataSource and any widget specific overrides applied by the developer.

                            In Short DataSource is a cache containing our backend data at the application level that are bound with our components
                            Thank you shraddha bhatt for explaining in such simple way to grasp it firmly.

                            Comment


                              #15
                              Originally posted by Isomorphic
                              Your question about DataSources is answered expansively in the intro materials, and in your other thread, you clearly did not read the FAQ you were referred to.

                              We don't waste time on users who behave this way - other users deserve our attention instead.

                              By all means, use another technology.

                              That is the extreme of rudeness and lack of professionalism.

                              Comment

                              Working...
                              X