We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Access GridControl column/cell ID in JavaScript

Hi,
I am testing a Syncfusion GridControl application using TestComplete testing tool .
As a part of it I need to access Id's of grid columns in JavaScript. I have been trying to figure out
a way to dot it for last 2 days. But there seems to be simply no way to achieve it.
I have carefully gone through all the API docs and other material but can't find a method or property
that exposes cell ID and I am really stuck.
Can anyone please point me to what I am missing here.
Many thanks in advance.


2 Replies

VI vish November 20, 2013 10:09 AM UTC

The query above might sound silly but i would really appreciate some help.

When i try to do something like,
gridcontrol.Item(x, y).id = 'testId';

I get an error 'object doesn't support property'.
Even,
 gridcontrol.Item(x, y).wId = 'testId';
is not working.

Is there any way to assign an Id to grid column?

Thanks
Vishwajeet



ES Eswari S Syncfusion Team November 22, 2013 11:38 AM UTC

Hi Vishwajeet,

Thank you for using Syncfusion products.

We don’t have items in ASP.Net Grid Grouping control. We would like you to know whether you are using “Asp.net Grid Grouping control” or “Windows forms grid control ” ? So that we can analyze your requirement based on that and update you better solution.

Please let us know if you have any queries.

Regards,

Eswari S

 


Loader.
Live Chat Icon For mobile
Up arrow icon