Tony,
No, I don't think. The img line works just fine outside the grid. Something is preventing the Title from displaying inside a cell in the grid. I think that might be the case for the button as well, at least in Firefox.
I do specify both Alt and Title.
I will be away for several days on holiday. Hope you enjoy yours!
I will be back at it on Dec 26th.
By the way, the forum is working better now. Occassionally I have problems with line wrap, but no big problem.
Happy Holidays!
Barry
Hi,
Sorry, You did not understand my question. I try to be clearer.
On the demonstration site you have configured an example where you have 3 buttons in the first column of each row, E, S, C. I replaced those buttons with images. What I found is that tool tips (titles) does not work.
Barry
Tony,
I have been reading all the post that discuss inline editing and binding of select options. This topic sure gets a lot of press! I would like to know the status of this issue. I've got a lot of look up tables and my bindings are always based on ID, not text value.
So this is the standard pattern:
The server sends the client the data “GenderID=2” and the binding
|
1 |
{name:"GenderID" ... edittype:"select",editoptions:{value:"1:Women;2:Men"}<br /><br />When the grid is rendered in <span style="text-decoration: underline">inline edit mode</span> the user sees the select <br />control defaulted to "Men" because the data is GenderID=2. <br /><br />The Post Back to the server must be "GenderID=2" or "GenderID=1" <br />depending on the user's choice.<br /><br />To say this another way:<br /><br /> |
From Server -> {GenderID:N}
From Server -> {value:"1:Women;2:Men"}
To Server -> {GenderID:N}
|
1 |
Where N can be either 1 or 2.<br /><br />The big point is that the Server sends and receives "GenderID" an index, <br /> and the user only sees "Women" and "Men" defaulting correctly.<br /><br />This is a standard pattern that happens very frequently. Please tell me <br />that I am doing something wrong or that this will be implemented very<br />soon.<br /><br />Thanks for your consideration! jQgrid is very impressive. You should be <br />very proud as this is a great accomplishment.<br /><br />Barry<br /><br /> |
I use Firefox with the HttpFox and Error Console add-ins to see what is going on.
I noticed that sometimes a java script syntax error can cause the javascript to terminate without giving an indication. Most of the time I can see the error in the Error Console. You could also have issues on the server, possibly not getting or sending back the correct data or format.
I'm not sure I understood your situation to its fullest. Your URL must be working if you are producing a grid with data. So you put your grid in edit mode and then click save. It is at this point that you want to look at HttpFox and see exactly what was sent to the server and what was returned.
Barry
Tony,
Adding EditType:'text' changed the behavior, but the results are still not correct.
http://sevenlakestennis.net/bug/p3/p.php
I'm still unclear as to what fixes you made. When will the next version be released.
Barry
Tony,
I prepared 2 examples for your review. Have a look.
http://sevenlakestennis.net/bug/p1/p.php
http://sevenlakestennis.net/bug/p2/p.php
Barry
Tony,
You didn't answer my question! Actually I see that I did not ask my question good.
Is there a way I can get the data that is going to be posted on the save Row?
Like I said above I am currently displaying the contents of RowData on the
Tony,
The forum software is no good.
I don't understand what you said because
key text is missing.
How do I get the aftersave function to fire?
I guess I am doing something wrong. The aftersavefunction is not being called.
…editRow(”+cl+”,true,onEditFunc1,null,null,null,null,onAfterSave1);>”;
function onEditFunc1(id){
Tony,
Foreign Key Index – The key that linkes a master – a foreign key is a referential constraint between two tables. Its the key that makes a master-detail relationship.
Add button… both the master table and the detail table has an add button on the bottom of the grid. The problem is with the detail table (sub grid). The sub grid needs to know the FK of the master table . The subgrid needs to know which row is the master. I am currently doing that by setting the selected row and then getting the value from the selected row. That works until the user clicks on another row.
Barry
Tony,
SubGrid as Grid configuration (Master-Detail):
I set the row to selected on expand. When I click add to open the modal add dialog the FK index is correctly set in the Add Form.
Here is a problem. The user can select another row in the master grid. If the user selects another row then the add form dialog wil contain the FK value from the new (currently) selected row.
What the SubGrid needs to know is the ID of the row that caused it to open. Have you considered this? Is there a built in solution?
Thanks!
Barry
There are already a few comments in the forums about z-index. One comment says that it isn't a problem anymore. I feel pretty sure this is easy to resolve.
The other problem I described, you did not comment on, is that selecting the date in the date picker closes the Add dialog. I have not seen a comment on this issue.
Pete,
Did this work for you? I've got a grid with several foreign keys. I made it work, but I'm looking for a cleaner way.
Barry
Tony,
That makes sense!. I was thinking that since the row was not selected in the exampe that there might be a way of getting the row if it was not selected.
For my project, in this case, it is correct to select the row. I suppose that in trees expand and select node are distinct operations often. In a grid it probably the case that select on expand is almost always correct.
Thanks for you help on this!
Barry
Isn't 3.3.1 the latest? You are saying it will be corrected in next release.
Thanks Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top