Hello guys;
First of all I'll like to say that the job you guys did with this application is amazing, Thank you!!
Now I have read the manuals and look through the forums but I didn't find answer to some of my questions and here is the must intriguing one...
How can I get information that in displayed into a cell from and external element (not included inside the grid, but outside), lets say an input button or whatever other element form? :: boyter page :: Ver 3.0:: this is a quick description about this site in theory anyway I guess I just need to keep going and adding them and with any luck eventually the problem will go away. And http://www.boyter.org/?component=forum&option=viewthread&id=51HOME |
Thanks..
The problem is that there is a lot of code done already and the information to be displayed is really extensive, so I think is better if I just redirect to that page that will pick the information from the database using the info stored in the first cell of the selected row.
This is for the edition scenario, I already found some code for the deletion.
Thanks
No one knows how to do it, correct.
Or, maybe you haven't explained what your problem is adequately. If no one has responded you most likely haven't presented your question where someone might help you.
You're unlikely to find the perfect sample code that does exactly what you want to do. You'll need to understand how to identify what you want to do then employ the necessary code that.
Deleting rows from the grid is very easy to do. Calling another "page", possible, not sure why you'd do that with an ajax application though. I would open another window or some other visual component on the same page, that's what the example I pointed you towards does in principle.
Many ways to do this, one example can be seen at www.extjs.eu recordform example. There's also some examples in the demos, say like in the forms section, binding a grid to a form panel.
http://extjs.com/deploy/dev/examples/form/form-grid.html
That sounds like you are right, is there any other place you recommend me to ask this kind of issues?
For who didn't understood what my question was I'll try to change my words..
I need to know how the grid API work with an external element, lets use as sample, take the content of a cell from a button on a different frame. With out use panel or some other Exejs elements, only a simple button input.
thanks
Thank you very much for the fast response, but I'm looking for something different, I need to make the request from outside, no into a grid or panel. ë3육êμì¬2ê ̧ + ì¬íšŒë3μì§€ì¬2ê ̧ :: would like to do business with this issue, then did a little good auction house made a lot of money, almost like gold coins in 2000 wow gold, and later was http://lifelong.co.kr/board_view.php?data=aWR4PTUxJnBhZ2VjbnQ9MCZMCZjYXRlZ29yeT0=&bbs=qaHOME |
The scenario is like this....
The site have a tool bar with edit and delete buttons on it, the grid is displayed down as a separate instance, so when somebody select a row and click on edit button they need to be redirected to another page that will include the content of the first cell of the selected row.
With the delete button will be different, the clients will be able to select several rows and click on the button delete, once this happen the selected rows will be hidden and we send an ajax request to delete the rows using the content of the first cell as reference.
The first cell will always contain the row ID into the database.
Thanks
No one knows how to do this???
jlgarcia,
welcome to the ext community.
So you're looking to change a cell from outside the grid.
Generally, you do this at the record level. So the hierarchy is:
GridView uses the datastore
DataStore contains Records
Records contain data.
You'll need to figure out which row to modify, and use the datastore to retrieve a reference to the record. Use that reference to change the data. Then commit changes, and the grid will automatically repaint that cell.
Do i make any sense?
Challenging Books For A 14 Year Old?
First guitar : acoustic or electric?
|