Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
Discussion options

Hi, can you give me a hand on how I can get the column title for future comparison?

I have this code but it doesn't work on angular, what can I be wrong?

image

I have in jquery codes working that way.

thank you

You must be logged in to vote

Replies: 2 comments · 3 replies

Comment options

What happens if you try it this way:

switch (column['title']) {

This should make the error go away.

You must be logged in to vote
3 replies
@ulissesprev
Comment options

Hello
No error occurs, but is returned undefined

image

image

@shanmukhateja
Comment options

Hi,

Please provide a reproducible repo or StackBlitz to investigate.

@ulissesprev
Comment options

Hi,
That line of code gave me back what I needed. Thanks.

column.header().textContent

Comment options

I got something using this line of code, but I don't know if it's safe to use...

column.header().textContent

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.