Is there any way to dynamically set the grid columns? It does not appear that you can bind a field to number of columns or column size. I wanted to resize my grid columns based on user input.
Example: I want the user to see standard comments for vendor and/or item number. If the vendor number is specified as input, they really don't need to see a column with the vendor number (same for item). I only want to show those columns if they have requested "all" vendors or "all" items. Even "group suppression" would be nice.
Thank you, Patti
Dynamic Column Selection
-
- Experienced User
- Posts: 147
- Joined: Tue Jun 17, 2014 4:00 pm
- First Name: Patti
- Last Name: Bednarz
- Company Name: McGard
- State / Province: New York
- Country: United States
- Contact:
-
- Experienced User
- Posts: 147
- Joined: Tue Jun 17, 2014 4:00 pm
- First Name: Patti
- Last Name: Bednarz
- Company Name: McGard
- State / Province: New York
- Country: United States
- Contact:
Re: Dynamic Column Selection
I just discovered the removecolumn method. It works, however I would like to conditionally remove several columns. Is there a way, for example to remove columns 2-4 ? Also, how would I put them back? I was thinking I would code the "onload" to show whatever columns pertain to the user's selections..... ?
-
- Profound User
- Posts: 76
- Joined: Fri Jan 11, 2013 6:11 pm
- First Name: Sean
- Last Name: Tyree
- Company Name: US HealthWorks
- State / Province: California
- Zip / Postal Code: 91355
- Country: United States
- Contact:
Re: Dynamic Column Selection
Patti,
You might try resizing the columns that you don't want to display to 0px width. This effectively hides the columns but would allow you to redisplay them by re-setting the width.
Sean
You might try resizing the columns that you don't want to display to 0px width. This effectively hides the columns but would allow you to redisplay them by re-setting the width.
Sean
-
- Experienced User
- Posts: 147
- Joined: Tue Jun 17, 2014 4:00 pm
- First Name: Patti
- Last Name: Bednarz
- Company Name: McGard
- State / Province: New York
- Country: United States
- Contact:
Re: Dynamic Column Selection
Thank you, Sean. I have everything working now. Have a nice weekend! - Patti
Who is online
Users browsing this forum: No registered users and 2 guests