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
ColModel Name with Accentuation or Blank Charactere
06/10/2011
02:44
Avatar
handelcamilo
Member
Members
Forum Posts: 7
Member Since:
02/09/2011
sp_UserOfflineSmall Offline

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!

06/10/2011
08:46
Avatar
rochiel
France
Member
Members
Forum Posts: 20
Member Since:
26/05/2010
sp_UserOfflineSmall Offline

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

07/10/2011
22:07
Avatar
handelcamilo
Member
Members
Forum Posts: 7
Member Since:
02/09/2011
sp_UserOfflineSmall Offline

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!!

21/11/2011
11:10
Avatar
rochiel
France
Member
Members
Forum Posts: 20
Member Since:
26/05/2010
sp_UserOfflineSmall Offline

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

Forum Timezone: Europe/Sofia

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

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information