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:	23
Size:	95.3 KB
ID:	273853

    Freeze the column Store Number:
    Click image for larger version

Name:	Freeze.png
Views:	23
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:	23
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 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:	0
Size:	88.5 KB
ID:	273875

      Click image for larger version

Name:	ForumColumn.png
Views:	0
Size:	152.1 KB
ID:	273876


      Thanks

      Comment

      Working...
      X