Forum
05:18
20/11/2008
Problem search... please advance help me..\\
this my code :
datatype: "xml",
colNames:['ID','Nama', 'Nama Lengkap', 'Alamat','hp'],
colModel:[
{name:'id_kar',index:'id_kar', width:15,align:"center",search:false,editable:true,editoptions:{readonly:true,size:5,align:"center"}},
{name:'nm_depan',index:'nm_depan', width:80,editable:true,search:true,editoptions:{size:15}},
{name:'nm_lengkap',index:'nm_lengkap', width:90,editable:true,search:true,editoptions:{size:40}},
{name:'alamat',index:'alamat', width:60, align:"left",editable:true,editoptions:{size:60}},
{name:'hp',index:'hp', width:60, align:"left",sorttype:"int",editable:true},
],
rowNum:10,
rowList:[10,20,30],
imgpath: 'themes/basic/images',
pager: jQuery('#pagered'),
sortname: 'id_kar',
viewrecords: true,
sortorder: "desc",
width: 750, // new width
height: 220,
caption:"Administrator Account Setting",
editurl:'editaccount.php'
}).navGrid('#pagered',{edit:true,add:false,del:false});
$("#bedata").click(function(){
var gr = jQuery("#editgrid").getGridParam('selrow');
if( gr != null ) jQuery("#editgrid").editGridRow(gr,{height:280,reloadAfterSubmit:true});
else alert("Please Select Row");
jQuery("#search").searchGrid( {sopt:['cn','bw','eq','ne','lt','gt','ew']} );
});
03:47
Moderators
30/10/2007
Hello,
I'm not sure what you try to do
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
56 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66