if “master” is the id for the table you can do
$(“master”).getGridParam(“selrow”); to get the selected id row of the master
Regards
Tony
Josep,
Try to create a button after editing the row.
Regards
Tony
Reg,
The problem in your last post is that you do not pass a parameter to bind
event. For more information refer to jQuery docs on how to set parameter
to bind function. I think there is a more simple solution to you problem.
$(“mygrid”).jqGrid({
…
onSelectRow: function(id){
Hi,
Just try in this function – after grid reload use setGridParam({selrow:id})
Regards
Tony
Josep,
I suppose that you use inline edit. Currently this is not possible. Will be added in 3.2 final
Regards
Tony
Reg,
If you see my post about cell validation you can easy add content before or after editable filed.
Regards
Tony
Reg,
When you use a inlineedit and when the row is in edit mode the plugin creates anuquie id for that cell which is a combibantion of rowid+_+ the name of the cell. I think that this a simple. Suppose the name of cell is mycell
var
Reg,
You have made a great job. Thank you.
I have a question – why do you not ask me for sources of the docs?
I make it with a great HelpMaker (free software). Now I will think how to synchronize this. Of course you have make a great additional topics which I like them.
Myabe we should found a way to make the docs public and changed by other users. Will think about this.
About the PayPall – will add it soon.
Again thank you for the great job.
I will write you soon again
Regards
Tony
You are right. Thank’s.
I known about the bugs in Hide and Show column methods.
Moreover there is another problem in IE – see this.
http://www.trirand.com/blog/index.php?pagename=forum&rs_discuss_where=topic&rs_discuss_forum=bugs&rs_discuss_topic=114&recent=708
I’m consider to totally change these methods, but I do not have solution for the problem described in the link above.
If someone can help on this – it will be great.
Anyway thank you very much for reporting this issue.
Regards
Tony
How do you add a title?
jqGrid uses onmouseout event and delete the title and add a title in onmouseover event (content of the table cell).
Regards
Tony
The reason is that if you use dblclick the onSelectRow is raised too. I do not know haw to solve this – it is something like Paragraph 22.
Use beforeInitData event for that purpose.
There is a missing line for this event when the form is created for first time, which is corrected.
Regards
Tony
This should work. It works for me in IE6.
Since IE6 does not support indexOf in arrays before this line is defined something like
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i<this.length; i++){
if(this==obj){
return i;
}
}
return -1;
}
}
I really do not know why?
On possible direction. Use this piece of code independent from jqGrid and see if this work in IE6. If not there is something wrong with you version of IE6.
Regards
Tony
$(‘#mygrid’).jqGrid({
…
postData:{ServerID:519},
…
}).setGridParam({postData:{}});
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top