Announcement

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

    setShowRecordComponents exception !

    Dears

    When trying to use ListGrid.setShowRecordComponent(true) the browser print a popup that says:

    "com.google.gwt.core.client.JavaScriptException: (TypeError): Property '__showRecordComponent' of object[ListGrid ID:isc_ListGridAdvancedOperators_0] is not a function."

    This happens on SmartGwt 2.3 nightly build of Thursday 9/12 on FF & Chrome
    Last edited by daliakamal; 11 Dec 2010, 09:54.

    #2
    Please let us know if you can reproduce this with the latest nightly - fixes in this area have been checked in the last couple of days.

    Also, please explain how to reproduce the problem.

    Comment


      #3
      - The last nightly build 11-12-2010 didn't fix the problem.

      - The problem is reproduced when trying to override overrideListGridComponent() in ListGrid then call setShowRecordComponent(true)
      as in the ShowCase http://www.smartclient.com/smartgwt/...d_cell_widgets

      Comment


        #4
        That sample is not crashing with the latest nightly. Check your installation and let us know if you can find a reproducible case.

        Comment


          #5
          There was indeed an issue with the nightly and this has been corrected. Please pick up the next nightly build.

          Comment


            #6
            Dear Isomorphic

            Yes it fixed in the build 15/12/2010, sorry for late response

            Many thanks for you.

            Comment


              #7
              ShowRecordComponents for limited row

              Dear Isomorphic

              I am using RecordComponents for my listgrid fro drawing a button in row. but problem is when my grid loaded many data (example 30) then for first 18 row only record components (button) is drawn. but not for any other rows in the grid.

              I code

              listGrid.setShowRecordComponents(true);
              listgrid.setShowRecordComponentsByCell(true);

              and

              listgrid= new ListGrid()
              {
              @Override
              protected Canvas createRecordComponent(final ListGridRecord record, Integer colNum) {

              String fieldName = this.getFieldName(colNum);
              System.out.println("fieldName........"+fieldName);
              if (fieldName.equals("GR_BTN")) {
              IButton CommandButton = new IButton();
              CommandButton.setWidth(40);
              return CommandButton;
              else
              {
              return null;
              }


              After return from server i use listgrid.fetchdata()

              Please reply.

              Comment


                #8
                You haven't mentioned your version - however, we have many autotests in this area that pass nightly, so whichever version you're using, we assume you're not on the latest build from smartclient.com/builds.

                Please retest with the latest and, if you still see issues like this, report the information the forums asks for.

                Comment


                  #9
                  Sorry

                  I am using SmartGwt 3.1 power edition

                  Comment


                    #10
                    Yes, but what is the build date? Evaluate "isc.version" in the developer console. And then update to the latest nightly bug-fix build from smartclient.com/builds.

                    Comment


                      #11
                      I am using

                      SmartClient Version: v8.3_2012-11-20/PowerEdition Deployment (built 2012-11-20)

                      Comment


                        #12
                        Ok - that's well over a year old - get the latest nightly build of SmartGWT 3.1 from smartclient.com/builds and retest.

                        Comment


                          #13
                          Ok, Thanks for reply.
                          I'll download and test it.

                          If problem exists then i'll back to you for solution.

                          Comment


                            #14
                            Hi Isomorphic

                            I want to upgrade my smartGwt 3.1 power edition with latest build.
                            I have valid username and password.
                            How i download it ?
                            In Isomorphic website it tell me to buy.

                            Is it necessary to buy or i can download it for free with valid username and password.
                            Please tell me and provide link.

                            Comment


                              #15
                              Go to smartclient.com/builds

                              Comment

                              Working...
                              X