View Full Version : [CLOSED] Fastest way to get a grid's columns?

Nov 06, 2013, 2:18 PM
What's the fastest way in javascript to get a column in grid by dataIndex or columnIndex? We have been using:

var column = grid.headerCt.getGridColumns()[colIndex];

But this isn't that fast. We are doing this in renderer of a column. When the grid contains many rows, we notice slowness.

Nov 06, 2013, 2:54 PM
Hi @jchau,

Do you need a Column which the Renderer is defined for? If so, please use the "this" reference.