Skip to main content
I am using a lightning tree grid in my component. Expand and collapse was absolutely working fine with 30+ records, but when it comes to 1500+ records expand and collapse is not working properly. It is throwing these errors:-  Cannot read property 'Symbol(ViewModel)' of undefined and Cannot read property 'setAttribute' of undefined, While trying to collapse or collapse all after using expand all. Can anyone suggest any solution for this problem?
1 respuesta
  1. 21 jun 2019, 06:53
    Hi Vineeth,

     

    Please follow given below link and steps with the help of these link and steps you can solve your problem, it may be helpful to you.

     

    This component inherits styling from trees in the Lightning Design System:

     

    Inline editing and sorting of columns are not supported. Supported features include.

     

    -Displaying and formatting of columns with appropriate data types

     

    -Header-level actions

     

    -Infinite scrolling of rows

     

    -Row-level actions

     

    -Resizing of columns

     

    -Selecting of rows

     

    -Text wrapping and clipping

     

    Here is Limitation and Accessibility :

     

    This component supports navigation mode and action mode using the keyboard. To enter navigation mode, tab into the table, which triggers focus on the first data cell in the table body. Use the arrow keys to move around the table.

     

    To enter action mode, press the Enter key or Space Bar. Columns can be resized in action mode. To resize a column, navigate to the header by pressing the Up Arrow key. Then, press the Tab key to activate the column divider, and resize the column using the Left Arrow and Right Arrow key. To finish resizing the column and return to navigation mode, press the Tab key.

     

    When focus is on a cell that contains a link, pressing enter to navigate to the link is currently not supported. This limitation applies to cells that contain data of type url, phone, and email.

     

    Reference Link : https://developer.salesforce.com/docs/component-library/bundle/lightning:treeGrid/documentation

     

    I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

     

    Thanks and Regards,

     

    Deepali Kulshrestha
0/9000