Support

Home Forums Event Espresso Premium I need to add "Company" name to the sortable columns in Registrations

I need to add "Company" name to the sortable columns in Registrations

Posted: November 8, 2023 at 6:55 pm

Viewing 5 reply threads


WalkerDesigner

November 8, 2023 at 6:55 pm

Is it possible to add an additional column to the registrations that would allow for sorting by Company name? Downbloading the spreadsheet will not work for me for this. I need to know if it is possible and if there are examples of this being done. Also – do you have any recommended developers that work with event espresson that may be able to create this customization. Thanks.


Tony

  • Support Staff

November 9, 2023 at 6:39 am

Hi there,

Yes, it is possible and I have an example you can use as a starting point here:

https://gist.github.com/Pebblo/88f2a0a9213c716e4886a249e7709245

Also – do you have any recommended developers that work with event espresson that may be able to create this customization.

We have some developers who are familiar with Event Espresso listed here:

https://eventespresso.com/developers/event-espresso-pros/

Is that what you are looking for?


WalkerDesigner

November 9, 2023 at 10:34 am

This worked great – all I needed to do was replace the column name and the ID#. It works as it should. The only thing is that it places the new custom column at the end of the list – it would be nice to have it 3rd in the row – if you know how to fix that it would be great but I’m not complaining – if not I could just leave it as is.


Tony

  • Support Staff

November 9, 2023 at 1:16 pm

This worked great – all I needed to do was replace the column name and the ID#. It works as it should.

Awesome πŸ™‚

The only thing is that it places the new custom column at the end of the list – it would be nice to have it 3rd in the row – if you know how to fix that it would be great but I’m not complaining – if not I could just leave it as is.

You set where in the array the column is added within this bit of code:

https://gist.github.com/Pebblo/88f2a0a9213c716e4886a249e7709245#file-example-php-L10-L14

It uses the ‘actions’ column to add the new column before, just set the column name you want to use there and it will place it before that column.


WalkerDesigner

November 9, 2023 at 7:06 pm

That worked – resolved.


Tony

  • Support Staff

November 10, 2023 at 2:37 am

Great, I’ll mark this thread resolved.

Have a great weekend.

Viewing 5 reply threads

The support post ‘I need to add "Company" name to the sortable columns in Registrations’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso