Forum
18:56
13/04/2010
Hi,
some minor bug in search dialog after reseting search:
$("#kasa_month_list").jqGrid({
url:'go.php?mod=kasa_month&act=list',
rowNum:Math.round(($('#mainContent').height()-160)/20),
colModel:[
{name:'date',index:'date',label:'Data',sortable:false,stype:'date',searchoptions:{sopt:['bw','bn']}},
{name:'users_id',index:'users_id',hidden:true,label:'User',stype:'select',searchoptions:{sopt:['eq','ne'],searchhidden:true},editoptions:{value:'1:Tomas;2:Dmitrij;3:Natalija;5:Eleonora;10:Forumas;12:Romas;'}},
{name:'payd',index:'payd',hidden:true,label:'Payd',stype:'select',searchoptions:{sopt:['eq','ne'],searchhidden:true,attr:{title:'xxx'}
},editoptions:{value:'1:Per kasa;2:Pavedimu;3:I skola…;4:Kortele'}}, ],
mtype:'POST',sortable:false,altRows:true,datatype:'json',height:'auto',autowidth:true,view:true,forceFit:true,rownumbers:false,multiselect:false,viewrecords:true,editurl:'go.php
mod=kasa_month',viewsortcols:false,loadComplete:reinit_thickbox,
}).navGrid('#kasa_month_pager',{edit:false,add:false,del:false,search:true,view:false,excel:false,},{jqModal:false,closeOnEscape:true,afterSubmit:fn_afterSubmit,},{jqModal:false,closeOnEscape:true,afterSubmit:fn_afterSubmit,},{},{jqModal:false,closeOnEscape:true,multipleSearch:true,},{jqModal:false,closeOnEscape:true,afterSubmit:fn_afterSubmit,},{jqModal:false,closeOnEscape:true,});
push button 'search', then in Data field input something, press '+' (multiple search), then select User field and select something,
aggain press '+' and select Payd field and select something. Do filtering. Press Reset.
Now we have field Data with selectable searching field instead of normal input field.
version 3.7.2
And I`m may be wrong of using title in searchoptions (attr:{title:'xxx'}), but this title does not appear in search dialog.
14:02
Moderators
30/10/2007
Hello,
Are you sure you posted the whole code?
I see a lot of not needed " , " commas, which point me thet this is not the whole code.
The title attribute can not be set in serch Dialog
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.
08:43
13/04/2010
10:32
Moderators
30/10/2007
Hello,
There is a error when I try to open the link - the message is tb_init is not a function and I can not continue to check.
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.
11:40
Moderators
30/10/2007
Hello,
Sorry to9 say this, but your code has a lot of errors again.
You have a lot of unwanted commas at end of the properies.
Please correct it.
If the problem persisst please include the development of jqGrid (source code - not the minified one)
Thank you.
Kind Regsrds
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.
13:39
13/04/2010
Hello Tony,
problem gone when I changed minified version to normal version of jqGrid. Actualy minified version is provided from trirand site and it is 3.7.2 version. I do not remember how I get normal version of jqGrid.
Why minified version behaviors is different than normal ? Later I will try to investigate if 3.8 version have same problem.
Best regards, Tomas.
Most Users Ever Online: 715
Currently Online:
35 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