Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Search dialog fails to restore
06/09/2010
18:56
Avatar
Tyniuz
Member
Members
Forum Posts: 10
Member Since:
13/04/2010
sp_UserOfflineSmall Offline

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.

11/09/2010
14:02
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

13/09/2010
08:43
Avatar
Tyniuz
Member
Members
Forum Posts: 10
Member Since:
13/04/2010
sp_UserOfflineSmall Offline
13/09/2010
10:32
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

13/09/2010
11:34
Avatar
Tyniuz
Member
Members
Forum Posts: 10
Member Since:
13/04/2010
sp_UserOfflineSmall Offline

This error fixed. Please check again.

18/09/2010
11:40
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

18/09/2010
13:39
Avatar
Tyniuz
Member
Members
Forum Posts: 10
Member Since:
13/04/2010
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information