Forum Discussion

vish_borade's avatar
vish_borade
Occasional Contributor
12 years ago

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

  • vish_borade's avatar
    vish_borade
    Occasional Contributor
    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