Re: Creating Help File:: I'd consider a simpler solution, i.e., maybe popup a form with help entered in a memo field (indexed of Ability to print SQL Editor grid and Data grid . http://www.tech-archive.net/Archive/Access/microsoft.public.access.devtoolkits/2005-08/msg00031.htmlHOME | I've searched and searched and have found no answer or examples.
What I would like is to be able to open a grid when I click on a cell from an editorgrid.
Here is why:
I have zones with costs and description
On the main grid I only need to display the zone (0 - 5) and the cost in separate cells.
On my popup grid I want to show the zones, descriptions and costs.
If user changes zone I need to be able to update the cost field on the main grid as well as the zone field.
I'm not trying to get anyone to write the code for me, I was just hoping to see an example and code snippet of a grid that is opened from as grid cell click.
Thanks
Note, I suggest you fashion your test case in the form of the examples rather than use custom fields and data. This way someone can help and have a frame of reference and you can utilize sample data that's in the demos already. Once you have that much working then you can modify it to your specific data. HtmlEditor in EditorGrid, maybe a bug? - Ext JS Forums:: 6 posts - Last post: Sep 11, 2007Thanks, I know how to popup the html editor in a dialog too, but an inline html editor in the editor grid will be very cool then popup a http://extjs.com/forum/showthread.php?p=61832HOME |
Inserting Software Downloads:: Main features: - Pattern editor (Grid), many tracks per channel, several channels may you can build DHTML drop down or popup menus in few minutes. http://www.download32.com/inserting-software.htmlHOME | Well, as far as one window behind the other, I don't know without seeing your code.
[jboss-svn-commits] JBL Code SVN: r8566 - in labs/jbossrules/trunk :: +} + +.warning-Popup { + border: 2px solid #B8B8B8; + background-color: + background-color: #FDFCDC; +} + +.dt-editor-Grid { + background-color: http://lists.jboss.org/pipermail/jboss-svn-commits/2006-December/005289.htmlHOME | Laying Out a Simple GUI :: Creating a Simple GUI with GUIDE (MATLABĀ®):: If necessary, make the window larger. Resized layout editor grid area. Back to Top In this GUI, the static text serves as a label for the pop-up menu. http://www.mathworks.com/access/helpdesk/help/techdoc/creating_guis/f3-998365.htmlHOME |
As far as click on row or cell, you just specify a different selection model for your grid. If you have an editor grid it will default to row so you'll need to explicitly state the selection model you want.
OK, I got it to work...kinda.
I'll try to get an example out soon (Monday probably).
Here is what I got and what is still needed.
I am able to open up a grid by clicking on a row on my main grid, unfortunately the new window renders behind my main grid. win.doLayout(); didn't help.
Also, I would like to have this action done when clicking on a specific cell, not on the row.
Any ideas on how to get the new window in front of the first one?
I saw some stuff on cell actions but they looked like they had to be attached to an image?
I'll go look at that again.
Thanks
Thanks, I'll see what I can do.
I can't think of any example to help you. This might be about the closest:
http://extjs.com/deploy/dev/examples/grid/binding.html
So that will get you part of the behavior.
grid.getSelectionModel().on('rowselect', function(sm, rowIdx, r) {
var detailPanel = Ext.getCmp('detailPanel');
bookTpl.overwrite(detailPanel.body, r.data);
});
So that's the behavior part. The contents inside that function would be different for you of course. Sounds like you're going to want to open/create a window if it doesn't exist.
Just focus on getting that much working. Decide if you're going to create a new window each time or reuse an existing window. There's examples of such logic in the examples already.
After that you'll just need to put a grid as an item of that window. Again, I'd just plop in a static grid for starters.
Then refer back to the example above to figure out how to update the contents of that window.
Another related example is here
http://extjs.com/deploy/dev/examples/form/form-grid.html
Post your code for further help....
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks |