Skip to main content
3-Newcomer
April 3, 2025
Question

The issue about Custom TableBuilder

  • April 3, 2025
  • 3 replies
  • 638 views
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.0

Hello! I'm encountering an issue during development.
I'm using TableBuilder to create a table where one column displays radio buttons and another column shows text input fields for user input. However, when the table exceeds a few hundred rows, the selected radio buttons and input text disappear after scrolling. I suspect this is caused by Ext.js re-rendering the table and not preserving the modified states of the radio buttons and input fields, but I’m unsure how to fix this.
If you’ve faced similar issues or have a solution, I’d greatly appreciate your advice. Thank you!

    3 replies

    20-Turquoise
    April 3, 2025

    Take a look at this article: https://www.ptc.com/en/support/article/CS317066

    This might help....

    3-Newcomer
    April 11, 2025

    All right.

    I will try it.

    Thank you for your help.

    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    April 4, 2025

    Hi @SW_10353216 

    @RandyJones is right there is usualy trouble with buffer

     

    following script helped me to solve similar issue. I increase the buffer to 10000 and it was enough in my case.

    <SCRIPT>
    PTC.wizard.getContentAreaPaddingHeight = PTC.wizard.getContentAreaPaddingHeight.wrap(function(orig) {
    return orig.call(this) + 12;
    });
    
    Ext.ux.grid.BufferView.prototype.getVisibleRowCount = function(){
    return 10000;
    };
    
    Ext.override(Ext.ux.grid.BufferView,{
    doClean: Ext.emptyFn
    });
    setUserSubmitFunction(function(){return PTC.validation.callAJAXValidation("idOfTheRenderingTABLE");});
    </SCRIPT>

     PetrH

    Community Moderator
    April 10, 2025

    Hello @SW_10353216,

     

    It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

    Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

    Thanks,
    Vivek N.
    Community Moderation Team.