tomansley / SimpliListViews

Salesforce List Views App Package
GNU General Public License v3.0
0 stars 0 forks source link

Maximum number of field columns #141

Open argen-x opened 1 year ago

argen-x commented 1 year ago

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 commented 1 year ago

Hello Argen,

Great to hear from you.

I am a little confused as to what the feature request is asking for. Are you asking for a setting to be able to set a limit on the number of fields available to be displayed in a list view?

Are you also asking for a setting that could be used as the initial width of the columns?

I will look into allowing a horizontal scrolling capability as well.

Let me know if what I say above is correct.

Cheers Tom

On Sat, Mar 11, 2023 at 9:34 PM Argen Turatbek @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/tomansley/SimpliListViews/issues/141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC3UGM7B3D7SSHWEWKFK7TW3U74TANCNFSM6AAAAAAVX3PRM4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

argen-x commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.