I\'m drawing a HUGE blank here.
Everything I\'ve found is about getting an index from a given row and column, but how do I get a row and a column from an in
Paxdiablo's answer is the right one. If someone needs the reverse process to get index from row and column:
index = (row * width) + column