Transform your Knack grids with KTL

Unlock the Power of KTL to Supercharge Your Knack Grids

If you’ve been using Knack for a while, you’ve probably customised tables and grids to suit your app’s needs. But did you know you can take these customisations to the next level with the Knack Toolkit Library (KTL)? Created by @NormandDefayette_CortexRD, this open-source code library allows you to add additional functionality, enhance the user interface, and improve the overall experience for your app’s users—all with just a few simple keywords. And the best part? No coding required!

Thanks to @CSWinnall for this addition. :pray:

Here are three powerful ways you can improve your grids:

  1. Sticky Headers for Large Tables

Ever struggled to navigate a long table? Adding sticky headers ensures column titles remain visible as users scroll through data. All it takes is adding the sticky-header keyword to your grid’s settings. No more losing track of what each column represents!

  1. Grouped Records That Stay Put

Grouping records in Knack is great for organising data, but those group headers can disappear as you scroll. With KTL, you can make group headers “stick” as users move through the table, making it easier to stay oriented in large datasets. Just toggle on the “sticky group headers” setting in your KTL configuration.

  1. Hide/Show Views for Better Navigation

Make your app cleaner and easier to navigate by collapsing and expanding tables with the hide-show keyword. This feature helps users focus on what’s important while still giving them access to all the data they need. You can even customise default states and animation speed!

Why Try KTL?

These small enhancements don’t just improve aesthetics—they make your app more user-friendly and efficient. Setting up KTL is straightforward: simply install the toolkit, configure it using the built-in options, and start exploring how keywords can transform your grids.

If you’re already using KTL, what are your favourite features? And if you haven’t tried it yet, now’s the perfect time to explore!

Feel free to share your experiences or ask questions below. Let’s continue building better apps together!

3 Likes

Hi @CarlHolmes

That’s a great video.

Thank you

Craig

1 Like

Wow!!

Thanks @CarlHolmes for another great KTL tutorial.

I also want to pay tribute to @CSWinnall who wrote all the beautiful code for these two features, among many others.

It’s great to have collaborators on this project.

Normand

3 Likes

Just trying to help the community and spread the KTL goodness :santa:t2:

1 Like

Love this video and these features.
I use the Hide/Show views quite a bit now.

I would love to have the ability to group the “hide/show view dropdown buttons” to function almost like tabs across the top to display different grids. It would almost be like a filter menu but allow you to still have full filtering abilities within each grid or display different tables without them having to stack on top of each other.

The hide/show view may just be my favorite ktl feature!

2 Likes

Hi Sam

Thank you, we are glad you are getting a lot of use out of the hide show views,

That’s an interesting idea not a simple one unfortunately. We might give this a go in the new year to see if it’s possible. The main issue is getting it to work with Knack and how they style their views in view-columns and groups.

We are also thinking of adding expand all and shrink all buttons as I think this will be useful. What do you think?

Craig