PDA

View Full Version : Help with grid



horangi
15 Dec 2009, 2:43 PM
Hello,

I'm a new here and new with EXTJS.

I build some application,where i have a window with tabs. one of tabs have grid inside with grouping. once i double click on each row,a new window with form is open.

I need this form with all data related to selected row. grid is not have all information,but data store get all info from database php file.

how i can send selected row items to form and how i get all relevant info in this form?

thank you

30 Dec 2009, 8:16 AM
you want to call the form's load method, passing in the id of the record to load.

to see this in action:

http://app.extjsinaction.com/ (any user, any pass)

Click on "Manage Departments"

Select a department on the left

Double click on any employee record in the grid in the center. You'll see a window pop up and the form load via ajax.

horangi
30 Dec 2009, 2:30 PM
Hi
yes. this is what i need. where i can see a code?

30 Dec 2009, 2:48 PM
Look at the source files. They are unobfuscated.