Forum


02:44

02/09/2011

Hi Guys,
I'm having a issue when I put some chacatere like ' ' or, 'ç', 'à' in my colmodel name.
The grid is loaded fine, but when I'm searching from filtertoolbar the following params is passed to my url:
How you can see, the param '_search' is going false and the column value of the search is not going at all. How can I figure it out?!
My software is almost done but this problem is killing me!
Thank you Guys!
08:46

26/05/2010

Hello handelcamilo,
In my mind, colmodel names must to be code and not label, without special characters etc.
The internal code and the label are two differents things. It's a non sense (in french ?) to do what you do.....
If you use internal code (and not label/title) you'll not have this kind of problem 🙂
In my mind it's the best best best best solution 😉
PS : you've got colNames for names, after each colModel will have their name defined in order of defined colName
22:07

02/09/2011

Hi rochiel, thanks!
But if the colmodel name must be a colmodel code, what the index would be?
I've seen examples with jqGrid wich colmodel name is a label and everything works fine, the searchgrid but not the filterToolbar.
And I'm having another issue. When I include jqgrid.addon.js in my app, the searchGrid stops to work! =/
Thanks Again!!
11:10

26/05/2010

Sry for my late response :s
I don't like label for columns key, it could brake or degrade (it may be french words ^^") the application.
For example, my colmodel definition :
colNames:["Indicateur de délai", "Date planifiée", "Date souhaité", "Numéro de changement", "Statut", "Type", "Libellé", "Criticité", "Priorité", "Ilot acteur", "Valide", "Numero de projet", "Numéro d'étude", "Retour fait ?", "Date de saisie", "Matricule de saisie", "Date réalisé", "Date de clôture", "Description", "Retour arrière", "Problèmes", "Charge totale", "Visualisé", "Changement automatique", "Matricule", "Îlot(s) info", "Validé par"] , colModel:[{name:"call_delay",index:"call_delay",sortable:false,hidden:false ,align:"left" ,resizable:true ,classes:"" ,label:"" ,title:false ,hidedlg:false ,width:50 ,fixed:false,editable:false,search:false}, {name:"date_planifie",index:"date_planifie",sortable:true ,sorttype:"text" ,firstsortorder:"asc",hidden:false ,align:"center" ,resizable:true ,classes:"" ,label:"" ,title:true ,hidedlg:false ,width:45 ,fixed:false,formatter:'date',editable:true,search:true ,stype:"text",searchoptions:{dataInit:function (elem) { $(elem).datepicker({dateFormat:"dd/mm/yy", changeMonth:true, changeYear:true, showButtonPanel: true, onClose: function() { $(elem).select()} })}}},
Etc.
ColName are only labels, colmodels are ordered like colnames association
For me it works fine
Most Users Ever Online: 715
Currently Online:
40 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