# Allowing visitors to sort rows in data table

**URL:** <https://community.glideapps.com/t/allowing-visitors-to-sort-rows-in-data-table/56056>\
**Category:** Ask for Help\
**Created:** [December 26, 2022, 10:27am UTC](https://community.glideapps.com/t/allowing-visitors-to-sort-rows-in-data-table/56056 "2022-12-26T10:27:47Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 27, 2022, 10:57am UTC](https://community.glideapps.com/t/allowing-visitors-to-sort-rows-in-data-table/56056/9 "2022-12-27T10:57:13Z")

</div>

> [@amessios](#):
>
> Can you change the default column width? Some of [my columns](https://mpsecondjobs.uk/dl/a400f7) are wider than I want them to be, and some are narrower. They’re obviously adjustable for the user, but I’d like to be able to have some control how they appear by default.

I’m afraid not. What you see is what you get. I think Glide does it’s best to auto-size the columns based on the data, but I agree it would be nice if you could set default column widths.

> [@amessios](#):
>
> Is there a way to add additional filters? On [this page](https://mpsecondjobs.uk/dl/a400f7) I’ve added a filter for political party, but I’d also like visitors to be able to filter the data grid by other fields (e.g., Region).

Not out of the box, but it’s possible to create your own custom filters. Here’s a tutorial that shows how to do that:

> [@tornado Use Multiple Choice Components to Filter an Inline List](https://community.glideapps.com/t/use-multiple-choice-components-to-filter-an-inline-list/16932):
>
> [[Glide: Filter an Inline List with Choice Components] ](https://www.youtube.com/watch?v=NOYFsVUWQXw) Updated July 2022 
> 
> > **Version 1**
> >
> > \<a href="https://www.youtube.com/watch?v=rtbFccDKuH0"\>https://www.youtube.com/watch?v=rtbFccDKuH0\</a\>

Bob’s tutorial uses a Glide App, but similar techniques can be applied to any list/collection in either Apps or Pages.

My earlier note about the impact on updates would also apply in this case:

> [@Darren\_Murphy](#):
>
> Just be aware that this approach can very quickly eat into your update quota, as each “click” would be counted as an update.

---

_[View the full topic](https://community.glideapps.com/t/allowing-visitors-to-sort-rows-in-data-table/56056)._
