aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes [ExtJS 4.1] Rowexpander and Grid. Expand the specified item. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "[ExtJS 4.1] Rowexpander and Grid. Expand the specified item." Watch "[ExtJS 4.1] Rowexpander and Grid. Expand the specified item." New topic
Author

[ExtJS 4.1] Rowexpander and Grid. Expand the specified item.

David Motrovsky
Greenhorn

Joined: Jun 20, 2012
Posts: 1
[ExtJS 4.1] Rowexpander and Grid. Expand the specified item.

Good day!

Need help ExtJS 4.1

There is a ComboBox. There is a Grid. Grid plugged plug rowexpander.
ComboBox and Grid take data from one array.

The purpose of the script: after selecting an item in the ComboBox - open the corresponding rowexpander in the grid.
That is, The user selects in ComboBox «Alcoa Inc» and in the field of Grid row with the name of the company «Alcoa Inc» rowexplander is disclosed.

Problem: I can not turn to the records in the table and call the event expandbody / collapsebody

After selecting a ComboBox'e I get the id of the selected item, which corresponds to the id record in Grid, but also how to use it, what would appeal - I can not understand.

grid.getView (). getNode (0) - got so appeal, but it's not something that would help me.

PS So far, the variables are declared as window.grid and window.simpleCombo to simplify debugging

The script:


Html code:


Tell me the solution, the second day of the "struggling against the wall."

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [ExtJS 4.1] Rowexpander and Grid. Expand the specified item.
 
Similar Threads
Struts2/JQuery
Social media integration
CSS pseudo classes - turning on without hovering or activating link
static content (css and EXT-JS JavaScript) not found 404 (SOLVED)
Ext JS: how to populate grid with values from servlet