PDA

View Full Version : grid cell click event without row selections



geewhizbang
8 Aug 2009, 9:42 AM
I have a grid with 3 columns, two of which need click actions. I want to disable the row selecton. When a user clicks, i need to run an event.

Can anyone point me to some working examples? All of the examples on the ExtJS samples use entire rows, or are for editing cell data. I just want a clickable cell with mouseover.

Animal
8 Aug 2009, 2:03 PM
http://extjs.com/deploy/dev/docs/?class=Ext.grid.GridPanel&member=disableSelection

geewhizbang
8 Aug 2009, 2:29 PM
That's a start, but why does it still mouseover the row? Seems like a bug to me.

Animal
8 Aug 2009, 11:07 PM
It's not a bug!

If you don't want that, disable it!

I'm not going through every step of your requirements POINTING you at the correct bit of the API docs.

Read the GridPanel's API docs.

geewhizbang
9 Aug 2009, 6:12 AM
Your reply is a bit embarrassing to me perhaps, but I was looking through the documentation using the search tools you provide and google. I never found any matches, so I figured that there were no such properties.

So I used the browser search on the page itself and it found what I needed. It seems so simple now, as the egg drips down my face. But I would like to suggest that the ExtJS team may want to find out why their content is not being indexed on search engines.

It doesn't appear to be a problem with the forums as I have already started to find my own posts, but the Ext 3.0 document may be on a url that is not being indexed.

Animal
9 Aug 2009, 6:22 AM
I don't provide nuffink

Animal
9 Aug 2009, 6:26 AM
You know how to show member only from the current class don't you?

So that you can see just the configs for GridPanel?

TheBerliner
21 Aug 2009, 9:45 PM
Your reply is a bit embarrassing to me perhaps, but I was looking through the documentation using the search tools you provide and google. I never found any matches, so I figured that there were no such properties.

The main problem is the extremely lousy documentation of EXT JS, which costs all of us an awful lot of wasted time. I am very angry about this form of stealing my time. (Especially since I am new to JS). No glossary. Only the sparsest texts written by programmers. Awfully ignorant to the user/customer. Probably part of their business model.

I propose you make you claims to the developers.

As for the rest, this is Animal's special charme! He was even more charming to me, because I dared to critisize this so called "doc".

Condor
22 Aug 2009, 3:49 AM
Animal was hinting at the Hide Inherited Members in the top-right corner of the API docs (http://www.extjs.com/deploy/dev/docs/).

Try clicking that button in the GridPanel API docs (http://www.extjs.com/deploy/dev/docs/?class=Ext.grid.GridPanel).

It probably won't take you very long now to find the trackMouseOver (http://www.extjs.com/deploy/dev/docs/?class=Ext.grid.GridPanel&member=trackMouseOver) config option.

suwidadi
9 May 2010, 8:45 PM
I have a grid with 3 columns, two of which need click actions. I want to disable the row selecton. When a user clicks, i need to run an event.

Can anyone point me to some working examples? All of the examples on the ExtJS samples use entire rows, or are for editing cell data. I just want a clickable cell with mouseover.

maybe this could help, a little. im still working on it too..lets do it together..

http://cellactions.extjs.eu/