Replies: 9 comments 14 replies
-
Hi Daniel, Thanks for suggesting this feature. I've brainstormed on it lately and I think I have a good idea how I'd do this. To prevent conflicting with the User/Public Filters' real-estate, I think I'd use a drop-down or a pop-up window to select the "Layout" instead of horizontal buttons like filters. Since column toggling is not a feature you'd use 20 times a day most likely, that would be acceptable. So you'd have new a "Hide/Show Columns" button that, when clicked, would...
But the export to CSV only for the visible columns... that's another story indeed. That would require re-writing the export, with page flipping when data is more than 1000 records. Any other ideas? Norm |
Beta Was this translation helpful? Give feedback.
-
Norm, this all sounds really great. I agree, a dropdown or pop-up would keep the page clean and allow the users to select and save their preferred views. I know this may be a bit more complicated, but have you considered universal preset column configurations (a developer or user admin could set up some specific views that users would have available on their end)? While the export function would really bring this together, I don't think it's something that should prevent or slow the development of this tool. Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Hey Norm, |
Beta Was this translation helpful? Give feedback.
-
Hi Dan, Yes that feature (call it a project) is still very much in the scope, and quite desirable. Many people have asked for it actually, along with the Excel/CSV export based on visible columns only. I have no time at the moment, being super busy with my main client's projects. But I may have a contributor that could help me on this - let me check. Norm |
Beta Was this translation helpful? Give feedback.
-
Hi Dan, I've completed a part of the feature. You can hide/show columns but not save the settings for now. You can try it out to see a preview. It's not officially released yet, so you need to set the version to dev in the loader, like this:
Then do a Ctrl+F5 to force an update, bypassing the cache. You will see a pale left-pointing caret (arrow) in each column header. When you click on it, the columns is collapsed to 20 pixels and show with a hatching. Click anywhere in the column to expand it back to normal. Let me know if you like it, |
Beta Was this translation helpful? Give feedback.
-
Hi Dan, Any feedback on the _hsc keyword? Norm |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to use the _hc keyword and some conditions to make this work? If the user updated a record with a multi-select multiple choice field that contained the names of all the fields that were available to show/hide in a given grid could that be used as a reference to show/hide the various columns? |
Beta Was this translation helpful? Give feedback.
-
That's a pretty neat idea. What would the keyword input look like on the
main grid (the one where we'd want to show/hide columns) to get this to
work?
…On Tue, Dec 5, 2023 at 3:38 PM CSWinnall ***@***.***> wrote:
You could have a grid, in each row a name of a column and have a yes/no
field and use the quick toggle keyword so the user could quickly toggle the
columns on or off.
—
Reply to this email directly, view it on GitHub
<#45 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQJOGOONPHUFLHSPCYUUN3YH6A6FAVCNFSM6AAAAAAY7YEVL2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONRYHAYDM>
.
You are receiving this because you authored the thread.Message ID:
<cortexrd/Knack-Toolkit-Library/repo-discussions/45/comments/7768806@
github.com>
--
Daniel J. Kukuk
Data & Communications: AFT Michigan, AFL-CIO
***@***.***
(248) 894-9899
|
Beta Was this translation helpful? Give feedback.
-
@cortexrd is there a way to not- conditions in the ktlCond? Like !has |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be great if the KTL would allow users to select the columns that they'd like to display in a given grid (much like you've done with the grid filters). Saving your preferred column selection locally would allow quick access to displays of preferred data depending on the project the user is working on. Ideally, this would also apply when exporting that grid (although I realize that's a much heavier lift).
Beta Was this translation helpful? Give feedback.
All reactions