6 Dec 2012 8:36 AM #1
Unanswered: Grid Column Click Event Prioritization
I have an ExtJs 4 application that has 3 views on a webpage:
* Search Criteria
* Search Results
* Secondary(?) Results
User enters search criteria and clicks Find pushbutton. Search Results grid (paged) is populated. Clicking on a Search Results row populates Secondary Results grid(paged also).
One of the columns in Search Results grid is actually a hyperlink.
If I click in a non-link column, I want the Secondary Results to populate as it currently does; however, if I click in the link column, I want to go to the linked page WITHOUT populating the Secondary Results grid.
Is is possible to setup prioritized events such that clicking a link column takes precedence (overrides) the normal event handling for all the other columns?
8 Dec 2012 6:33 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
What event are you using when clicking on a row, select or itemclick?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
10 Dec 2012 8:18 AM #3