Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum number of field columns #141

Open
argen-x opened this issue Mar 12, 2023 · 4 comments
Open

Maximum number of field columns #141

argen-x opened this issue Mar 12, 2023 · 4 comments

Comments

@argen-x
Copy link

argen-x commented Mar 12, 2023

Is your feature request related to a problem? Please describe.
To accommodate a large number of columns, consider setting a maximum limit on the number of fields displayed. Additionally, it may be helpful to set an initial width for each column and provide horizontal scrolling functionality to allow users to navigate through the data easily.

Describe the solution you'd like
How many field columns can be added at maximum in a list view?

Describe alternatives you've considered
So far, I have attempted to add 33 fields.

Additional context
Add any other context or screenshots about the feature request here.

@tomansley
Copy link
Owner

tomansley commented Mar 15, 2023 via email

@argen-x
Copy link
Author

argen-x commented Mar 21, 2023

Hello Tom,

  1. Yes, you are right. Our business requirement is to put more than 100 fields on the list view. Thus, I was asking whether how many fields we can put at max?

  2. I've tried setting the initial width for the columns so that it looks normal. But the initialWidth is not being reflected.

Thank you.

@tomansley
Copy link
Owner

Hi Argen,

You are able to add as many columns as you want. BUT, there is a Salesforce governor limit for the amount of time and resources it will spend trying to load the page. If that limit gets reached then it will fail. What I suggest in the FAQs is if adding more columns to reduce the number of rows of data being returned. But, I honestly don't know if it will even work with 1 row of data and 100 columns!!

I have never heard of a requirement where 100 columns is needed. I wonder whether that requirement should be revisited. Sounds like there is an architecture issue somewhere.

Regarding the initial width issue - let me take a look and see what is going on and get back to you. It could be a bug.

Cheers
Tom

@watsonps
Copy link

I am also experiencing some issues with width of columns. Columns that don't fit are challenging to impossible to resize since there is no horizontal scrolling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants