[Solved] Row count start with 0 or 1?

[Solved] Row count start with 0 or 1?

anjibmananjibman Posts: 115Questions: 10Answers: 0
edited November 2011 in General
Just want to make sure since I am not finding this information easily.

When I am accessing first row with following code
[code]
var aPos = oTable.fnGetPosition(this);
alert("aPos: " + aPos);
alert("[Row, Col]: [" + aPos[0] + "," + aPos[1] + "]");
[/code]

I am getting
[code]
aPos: 2, 0, 0
[Row, Col]: [2,0]
[/code]

By first row I mean row after table heading. My table first row is heading.

Replies

  • wardtmwardtm Posts: 1Questions: 0Answers: 0
    Row count and column count both start at 0.
This discussion has been closed.