# Disable column sort in ui-table

**URL:** <https://discourse.nodered.org/t/disable-column-sort-in-ui-table/88233>\
**Category:** Dashboard\
**Created:** [24 May 2024 12:32 UTC](https://discourse.nodered.org/t/disable-column-sort-in-ui-table/88233 "2024-05-24T12:32:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![john56](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@john56](https://discourse.nodered.org/u/john56)\
**Post date:** [24 May 2024 12:32 UTC](https://discourse.nodered.org/t/disable-column-sort-in-ui-table/88233/1 "2024-05-24T12:32:51Z")

</div>

I'm using the node-red-node-ui-table node to display several columns of numeric data.  
The default behaviour is to give the option of changing the sort order of the table by clicking the little triangles next to the column headings.  
Is there any way of disabling this function?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [24 May 2024 12:49 UTC](https://discourse.nodered.org/t/disable-column-sort-in-ui-table/88233/2 "2024-05-24T12:49:16Z")

</div>

If you look at the examples in editor, import \> examples \> ui-table. You will see how to add column definitions. You can try adding to the tabulator object.

```auto
 headerSort:false

```

---

<div class="post-metadata">

**Author:** ![john56](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@john56](https://discourse.nodered.org/u/john56)\
**Post date:** [24 May 2024 23:11 UTC](https://discourse.nodered.org/t/disable-column-sort-in-ui-table/88233/3 "2024-05-24T23:11:21Z")

</div>

Thank you @E1cid. That's just what I need.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 June 2024 23:12 UTC](https://discourse.nodered.org/t/disable-column-sort-in-ui-table/88233/4 "2024-06-23T23:12:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
