Brasileiro? :)
Estou usando a Grid Master Detail para alterar dados no banco.
Porém a grid que exibe o detalhamento (que se pode excluir/inserir/alterar
itens) não estou conseguindo enviar o ID da master grid para o banco.
Ou seja, consigo fazer tudo nas 2 grids, porém nao consigo adicionar na
segu
Hi Denis
what is your intent for doing this? you want to add custom data to the post
or change the data?
this will call a function just before sending the data to the server. with
the POST array formed (or what will become it after submitting)
Ricardo Verhaeg
Bacharelado Ciências da Computação -
Folks,
Got to the bottom of this. Here is the most important lesson I learnt from
banging my head against the wall for 24 hours and almost jumping out of my
window in frustration:
It is absolutely critical to include JS files in the correct order. Any
deviation, and strange things happen. The mag
Hello Tony:
I think I got this functionality working.
http://pssnet.com/~devone/ajqtable/summary392.html
I thought I needed Ajax function to get this working. But, it seems I
don't need that. datatype: function(postdata)...I don't need this
stuff.
Thank you again for this help, and for a reall
Hello Tony:
I think it is reloading the same info, and not the new info!!
http://pssnet.com/~devone/ajqtable/summary351.html
Regards,
Nat
On Apr 8, 3:50 am, Tony wrote:
> Hello again,
> Sorry missed that you have datatype as function.
> The 2 should be just
>
> var x;
> .
> ondblClickRow:
Hello Tony:
I also tried your initial suggestion, it too does not display data.
http://pssnet.com/~devone/ajqtable/summary39.html
Regards,
Nat
jQuery(document).ready(function(){
jQuery("#list2").jqGrid({
url:'summary3.php?nd='+new Date().getTime(),
datatype: "json",
colNames:
Hello,
Maybe you do not understand me.
The definition
jQuery("#list3").jqGrid({ ..})
should be outside of ondblClickRow.
That is:
jQuery(document).ready(function(){
//begin list2 grid
var x;
jQuery("#list2").jqGrid({
...
ondblClickRow: function(id){
var x = id;
alert("You double click row
Hello Tony:
Thank you for the reply.
I inserted like below. But, it does not load the data:
http://pssnet.com/~devone/ajqtable/summary36.html. Just empty grid.
I also tried to inserted like jQuery(#list3).trigger
("reloadGrid").jqGrid({no success.
I just need the functionality, thus any
Hello again,
Sorry missed that you have datatype as function.
The 2 should be just
var x;
.
ondblClickRow: function(id){
x =id;
.
jQuery("#list3").trigger("reloadGrid");
..
}
On Apr 8, 10:43 am, Tony wrote:
> Hello,
> Basically jqGrid first check if the grid exists.
> If the grid does n
Hello,
Basically jqGrid first check if the grid exists.
If the grid does not exists the plugin create the grid and data is
populated.
If the grid exists nothing is happen.
In other words you try to call every time jqGrid on already created
grid.
To avoid this there are a lot of scenarious.
1. Creat
10 matches
Mail list logo