PDA

View Full Version : how to show detailed view when click one row?



jax
28 May 2007, 11:15 AM
in Paging Grid Example (http://www.extjs.com/deploy/ext/examples/grid/paging.html) , there is a button named "Detailed View" , it can show and hide detail of all thread . I want to know how to do, when I click one row ,then show detail of the row? I used ColumnModel.setRenderer , but It change one Column :s thx

tryanDLS
28 May 2007, 12:17 PM
Add a click handler for the grid row. There are numerous examples of doing this throughout the forums - you'll have to search.

jax
29 May 2007, 9:51 AM
tryanDLS, thanks for your help, but I can't search any efficient answer ,can you provide more information to me ,thank you

jsakalos
29 May 2007, 10:10 AM
I have looked at that example and what is done there is that when Details button is pressed the handler changes the renderer(s) of the grid.

Does this help?