Announcement

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

    Upgrading SmartGWT13 - Unfreeze a column all the columns are removed from the grid.

    Hi All,

    After upgrading the SmartGwt13, Unfreeze a column heading all the columns are removed from the grid.

    The Grid property is applied with setAutoFitFieldWidths(true) and setShowGridSummary(true); If we remove anyone of the properties from the listgrid the Unfreeze option works as expected.

    myGridDistr.setShowFilterEditor(true);
    myGridDistr.setAutoFitFieldWidths(true);
    myGridDistr.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);
    myGridDistr.setCanHover(true);
    myGridDistr.setDataSource(ippndstDS);
    myGridDistr.setCanEdit(false);
    myGridDistr.setWidth100();
    myGridDistr.setHeight100();
    myGridDistr.setAutoFetchData(false);
    myGridDistr.setShowGridSummary(true);
    myGridDistr.setShowGroupSummary(true);
    myGridDistr.setAutoFitFieldsFillViewport(true);

    Please find the screenshot for your reference. This is the original screen.

    Click image for larger version

Name:	Before.png
Views:	63
Size:	95.3 KB
ID:	273853

    Freeze the column Store Number:
    Click image for larger version

Name:	Freeze.png
Views:	62
Size:	99.3 KB
ID:	273852

    Unfreeze the column Store Number: The column headings are removed.

    Click image for larger version

Name:	After.png
Views:	61
Size:	93.2 KB
ID:	273854

    Could you please let me know if anything is missed?

    Thanks.
    Attached Files

    #2
    We're not seeing this. When you a report a problem, you need to include the exact version of SmartGWT that you're using - for example isc.version might be 'SNAPSHOT_v13.1d_2024-10-10/EVAL Deployment'

    Can you modify one of the existing Showcase samples to reproduce this issue?

    Comment


      #3
      Hi All,

      Thanks for the response. I have modified the existing showcase and reproduced the issue. I have removed the group summary and applied the autoFitFieldWidths and autoFitFieldsFillViewport: true properties to the list grid. While Freezing the columns and unfreezing the column headers are removed. Please find the screenshot below for your reference.

      https://smartclient.com/smartclient/...id=summaryGrid


      isc.ListGrid.create({
      ID: "companyList",
      width:650, height:520,
      alternateRecordStyles:true,
      autoFetchData:true,
      dataSource: orderItemLocalDS,
      canEdit:true,
      showGridSummary:true,
      showGroupSummary:true,
      autoFitFieldWidths:true,
      autoFitFieldsFillViewport:true,

      Click image for larger version  Name:	forumFreeze.png Views:	13 Size:	88.5 KB ID:	273875

      Click image for larger version  Name:	ForumColumn.png Views:	12 Size:	152.1 KB ID:	273876


      Thanks
      Last edited by dloganathan; 16 Oct 2024, 03:11.

      Comment


        #4
        Hi All,

        Could you please review my above comments and let me know your suggestion?

        Thanks

        Comment


          #5
          We see the issue you point out with your repro code and are looking into it, but please remember to report the exact SmartGWT version you're using when you report a bug, as requested in the forum rules and also in post #2 above. Otherwise, it's more difficult for us to help you.

          Comment


            #6
            Hi All,

            I replicated the scenario in the Smart Client showcase itself with version 13.0P build 2024-10-17. Please find the post #3 above for more details.


            Thanks

            Comment


              #7
              This has been fixed back to SGWT/SC 12.1 in the nightly builds dated 2024-10-20 and beyond.

              Comment


                #8
                Hi All,

                Thanks for your reference. It is working fine in the recent builds dated 2024-10-20.

                Thanks

                Comment

                Working...
                X