3.2.0

How to get Cell Object/Cell Text from Cell Template?

Hi,

Q.1 How can I get Cell Text/Cell Object from cell template?I need it
because,I want to compare different multi-selected cells(self implemented).
Because multi-cell selection is not supported.
Here if I may get any information about Cell object then it will be helpful.

Q.2 Can I get spcific Cell object on the basis of column,row combination?

Please let me know as soon as possible.

Regards,
Ashwin Gupta
August 1,
Not sure what you mean - to get reference to the html element use element() method -

var span = obj.getCellTemplate(col, row).element();
Alex (ActiveWidgets)
August 1,
Alex,
Thanks for updation.Let me explain in detail:

Suppose I am having a grid of 2x2 means total 4 Cells & All Cells are having a string "Cell for test" inside this cell.Now I want to compare two cells like Cell 1-1(i.e. 1 row & 1 col.) with Cell 2-2,so how can I compare this two cells?

What I am thinking,to compare two Cells require either Cell object or if possible Cell Text like string "Cell for test".Make note,I am not asking about HTML element.

Alex wrote:
>> var span = obj.getCellTemplate(col, row).element();
me:
Here I have tried this logic,but now how can I use this to
distinguish/compare two different cells?

Hope now you have clear idea about my requirement.

Regards,
Ashwin Gupta
August 2,
Alex,
Is there any updation on this side?please update me...
Ashwin Gupta
August 8,
You can get cell text with grid.getCellText(col, row) method.
Alex (ActiveWidgets)
August 8,

This topic is archived.

See also:


Back to support forum