How to determine the selected cell of a Ext.grid.Panel in ExtJS 4?

There may be a more direct way to do this but the following seems to work for me.

There may be a more direct way to do this but the following seems to work for me: grid.view. GetCellByPosition(grid. GetSelectionModel().

GetCurrentPosition()).

I'm not at work anymore, so I can't try... What I did as a workaround, was to 'misuse' the select-event and store the cell and column in an own variable. – Sebastian May 18 at 15:59 Yeah, that was my first thought too, until I read through the source code and came up with the above! – Craig May 18 at 19:19.

I ended up needing the actual column that the user was clicking on and discovered the following: grid.panel.columnsgrid. GetSelectionModel(). GetCurrentPosition().

Column Don't forget to apply: selType : 'cellmodel' to your grid to make sure you can select cells!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions