- Home
- Forum
- Angular - EJ 2
- Found 2 elements with non-unique id
Found 2 elements with non-unique id
Hi,

I have a template for my grids, like bellow:
this.gridColumns = [
{ field: "EstoqueDescricao", headerText: "Estoque", allowEditing: false, width: "45%" },
{ field: "PrecoVenda", headerText: "Valor Venda", allowEditing: false, format: "C2", textAlign: "Right", width: "15%" },
{ field: "LimiteComissao", headerText: "Limite Comissão", allowEditing: false, format: "P2", textAlign: "Right", width: "15%" },
{ field: "LimiteDesconto", headerText: "Limite Desconto", allowEditing: false, format: "P2", textAlign: "Right", width: "15%" },
{ field: "Desativado", headerText: "Desat.", allowEditing: false, displayAsCheckBox: true, textAlign: "Center", type: "boolean", width: "10%" },
{
headerText: "Ações", width: "80px", commands: [
{ title: 'Editar', buttonOption: { content: '', cssClass: 'e-flat e-grid-edit', click: this.onGridEdit.bind(this) } },
{ title: 'Excluir', buttonOption: { content: '', cssClass: 'e-flat e-grid-delete', click: this.onGridDelete.bind(this) } }
]
}
];
But I recieve this alerts from browser and I don't know why
Found 2 elements with non-unique id #grid_355317337_1_0
What can I do? Bellow the image of warning.
SIGN IN To post a reply.
3 Replies
GR
Gokul Ramalingam
Syncfusion Team
February 28, 2020 12:26 PM UTC
Hi Benjamin,
Greetings from Syncfusion Support.
The mentioned issue “Found 2 elements with non-unique id” is a known bug from our end. It has already been fixed and included in the Syncfusion package version - v17.4.41. So please update your Syncfusion related packages to this version or to the latest version to resolve this issue.
Feedback Link: https://www.syncfusion.com/feedback/10830/command-buttons-in-the-same-row-contains-duplicated-ids
Sample for your reference,
Regards,
Gokul R
BG
Benjamim Goulart Bessa
February 28, 2020 10:29 PM UTC
Hi Gokul R,
I'll update then.
Thank you
GR
Gokul Ramalingam
Syncfusion Team
March 2, 2020 12:13 PM UTC
Hi Benjamin,
Thanks for your update.
Please get back to us if you need further assistance.
Regards,
Gokul R
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
BG Benjamim Goulart Bessa
- Feb 28, 2020 01:25 AM UTC
- Mar 2, 2020 12:13 PM UTC