# Action on clicking header in data grid

**URL:** <https://forum.servoy.com/t/action-on-clicking-header-in-data-grid/20581>\
**Category:** Questions\
**Created:** [September 29, 2021, 4:00am UTC](https://forum.servoy.com/t/action-on-clicking-header-in-data-grid/20581 "2021-09-29T04:00:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![roddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@roddy](https://forum.servoy.com/u/roddy)\
**Post date:** [September 29, 2021, 4:00am UTC](https://forum.servoy.com/t/action-on-clicking-header-in-data-grid/20581/1 "2021-09-29T04:00:55Z")

</div>

Is it possible to get an event/notification/action from a user clicking on a column header in a data grid component?

---

<div class="post-metadata">

**Author:** ![Gabi\_Boros](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gabi\_Boros](https://forum.servoy.com/u/Gabi_Boros)\
**Post date:** [September 29, 2021, 6:29am UTC](https://forum.servoy.com/t/action-on-clicking-header-in-data-grid/20581/2 "2021-09-29T06:29:42Z")

</div>

there is only the onSort handler that is called when cliking the header for sorting

---

<div class="post-metadata">

**Author:** ![roddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@roddy](https://forum.servoy.com/u/roddy)\
**Post date:** [September 30, 2021, 12:20am UTC](https://forum.servoy.com/t/action-on-clicking-header-in-data-grid/20581/3 "2021-09-30T00:20:06Z")

</div>

That would require the user to select the sort on the header; is it possible to introduce an event on clicking on the header?

---

<div class="post-metadata">

**Author:** ![Gabi\_Boros](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gabi\_Boros](https://forum.servoy.com/u/Gabi_Boros)\
**Post date:** [September 30, 2021, 6:15am UTC](https://forum.servoy.com/t/action-on-clicking-header-in-data-grid/20581/4 "2021-09-30T06:15:51Z")

</div>

please create a feature request in our support system, so we can have a look
