Skip to content

Conversation

petermusembi69
Copy link

@petermusembi69 petermusembi69 commented Mar 14, 2024

It is nearly imposible to create a SFDataGrid that has dynamic Widgets determined by multiple variables(local), while mantaining the filtering capability which is higly depended on DataGridCell.values.

  DataGridRowAdapter buildRow(DataGridRow row) {}

Passing a List of Widgets through the DataGridRow variable, increases interoperability of the SFDataGrid library when creating complex widgets.

@VijayakumarMariappan VijayakumarMariappan added data grid Data grid component open Open labels Mar 18, 2024
@abineshPalanisamy
Copy link

Hi @petermusembi69 ,

Based on the information you provided, adding a list of widgets directly through DataGridRow will not be an optimizable way. This approach could lead to performance issues and increase initial loading times due to loading all widgets at once.

To optimize performance, we utilize a virtualization concept similar to ListView's builder approach. Widgets are fetched using the buildRows method, ensuring they are loaded only when necessary.

Therefore, we currently don't have support for embedding widgets within DataGridRows. However, if you're facing specific challenges related to loading widgets through buildRows, please describe the issue in detail. This will help us investigate further and potentially find an alternative solution.

Regards,
Abinesh P

@ashok-kuvaraja ashok-kuvaraja added waiting for customer response Cannot make further progress until the customer responds. and removed open Open labels Mar 27, 2024
@ashok-kuvaraja
Copy link
Collaborator

Hi @petermusembi69,

We are closing this issue now. If you need any further assistance, kindly reopen this issue. We are always happy to help you.

Regards,
Ashok K

@ashok-kuvaraja ashok-kuvaraja removed the waiting for customer response Cannot make further progress until the customer responds. label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data grid Data grid component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants