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 button doesn't work in Firefox and Chrome
10/12/2009
22:24
Avatar
phusys
Member
Members
Forum Posts: 5
Member Since:
16/05/2009
sp_UserOfflineSmall Offline

Hi,

I use jqgrid 3.6.1 with search form but the search button only work with IE Browser.

I use this code for load search form:

 jQuery("#griglia_prenotazioni").jqGrid({
  url:'datigriglie.php?action=prenotazioni',
  datatype: "xml",
  colNames:['codice','valida per il','richiesta da','passeggeri'],
  colModel:[
   {name:'PCODICE',index:'PCODICE', width:100},
   {name:'DATARICHIESTA',index:'DATARICHIESTA', width:140},
   {name:'RICHIESTADA',index:'RICHIESTADA', width:150},
   {name:'PASSEGGERI',index:'PASSEGGERI', width:100}
  ],
  rowNum:10,
  height:200,
  imgpath: 'themes/basic/images',
  pager: jQuery('#paginazione_prenotazioni'),
  sortname: 'P.DATARICHIESTA',
  viewrecords: true,
  sortorder: "desc",
  caption:"Elenco prenotazioni",
   ondblClickRow: function( rowid) {
   document.location.href = '?prenotazioni-modificaprenotazioneedit-'+rowid;
    }
 });
 jQuery("#cerca_prenotazioni").filterGrid("#griglia_prenotazioni",{
  gridModel:true,
  gridNames:true,  
  formtype:"vertical",
  enableSearch: true,  
  enableClear: true,
  autosearch: true,
  searchButton:"cerca",
  clearButton:"cancella",
  formclass:"cerca_form",
  buttonclass:"cerca_button"
   });

Any idea?

11/12/2009
00:55
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

What does not work actually?

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.

15/12/2009
13:07
Avatar
phusys
Member
Members
Forum Posts: 5
Member Since:
16/05/2009
sp_UserOfflineSmall Offline

Hi,

actually in Firefox and Chrome, the searchbutton and cancelbutton in filtergrid doesn't get focus so it's unable to click. I can make search only by hit return button on one of the textbox of the filtergrid.

15/12/2009
18:22
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I see you have set custom classes for the buttons right?

I think that here is the problem,

Remove the classes from the definition and 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.

15/12/2009
21:11
Avatar
phusys
Member
Members
Forum Posts: 5
Member Since:
16/05/2009
sp_UserOfflineSmall Offline

tony said:

Hello,

I see you have set custom classes for the buttons right?

I think that here is the problem,

Remove the classes from the definition and check

Regards

Tony


I've tryed to remove classes from the definition but it still not work Frown

Here is the code:

 jQuery("#griglia_prenotazioni").jqGrid({
  url:'datigriglie.php?action=prenotazioni',
  datatype: "xml",
  colNames:['codice','valida per il','richiesta da','passeggeri'],
  colModel:[
   {name:'PCODICE',index:'PCODICE', width:100},
   {name:'DATARICHIESTA',index:'DATARICHIESTA', width:140},
   {name:'RICHIESTADA',index:'RICHIESTADA', width:150},
   {name:'PASSEGGERI',index:'PASSEGGERI', width:100}
  ],
  rowNum:10,
  height:200,
  imgpath: 'themes/basic/images',
  pager: jQuery('#paginazione_prenotazioni'),
  sortname: 'P.DATARICHIESTA',
  viewrecords: true,
  sortorder: "desc",
  caption:"Elenco prenotazioni",
   ondblClickRow: function( rowid) {
   document.location.href = '?prenotazioni-modificaprenotazioneedit-'+rowid;
    }
 });
 jQuery("#cerca_prenotazioni").filterGrid("#griglia_prenotazioni",{
  gridModel:true,
  gridNames:true,  
  formtype:"vertical",
  enableSearch: true,  
  enableClear: true,
  autosearch: true,
  searchButton:"cerca",
  clearButton:"cancella"
   });

16/12/2009
11:53
Avatar
phusys
Member
Members
Forum Posts: 5
Member Since:
16/05/2009
sp_UserOfflineSmall Offline

UPDATE:

Removing css classes now the buttons get foused and can be press but nothing happen. Cry

17/12/2009
15:18
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

In order to isolalate the problem, please remove any other plugins and JS and CSS files that are not needed and test.

I feel thet other things do something.

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
114 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