primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Full Control over Tabindex in table

Open MeMeMax opened this issue 7 years ago • 4 comments

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports) Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.

https://wmairglx.github.stackblitz.io

Current behavior I can´t set tabindex if pSortableColumn or pSelectableRow is used. This is due to this line of code: '[attr.tabindex]': 'isEnabled() ? 0 : undefined',

Expected behavior The developer should be able to set tabindex. Default value may stay 0.

Minimal reproduction of the problem with instructions see stackblitz

What is the motivation / use case for changing the behavior? The developer should be able to set tabindex.

Please tell us about your environment: Windows

  • Angular version: 5.X 7.2.0

  • PrimeNG version: 5.X 7.1.1

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] Chrome

  • Language: [all | TypeScript X.X | ES6/7 | ES5] Typescript

MeMeMax avatar Apr 25 '19 07:04 MeMeMax

I need [attr.tabindex]="-1" in p-sortIcon: <p-sortIcon *ngIf="tipoFile(col.TIPO)" [pSortableColumn]="col.FIELD" [field]="col.FIELD" [attr.tabindex]="-1"></p-sortIcon>

Danieleeee avatar May 15 '19 16:05 Danieleeee

Unable to replicate with PrimeNG 9, if the issue persists please create a new ticket with a test case reproducing the issue e.g. stackblitz or a github repo and it will be reviewed by our team once again.

cagataycivici avatar Mar 21 '20 13:03 cagataycivici

#8822 is a new ticket for this issue that i created with a new stackblitz that shows how it's reproduced @cagataycivici - Did what you asked... the ball is in your hands now

nironater avatar May 05 '20 22:05 nironater

I do not have a problem with the sortable column but the columnFilter. If anyone is interested i created a separate issue for it. ref#11712

flawesomesoft avatar Jul 14 '22 12:07 flawesomesoft