Forum

July 12th, 2025
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
Symbol '[' problem
22/11/2009
11:54
Avatar
sasha_gu
Member
Members
Forum Posts: 9
Member Since:
17/10/2009
sp_UserOfflineSmall Offline

I have a broblem in multiselection using checkbox :

if there are '[' in json data, then after clicking on the row, ckeck box dont check

{"page":"1","total":1,"records":"4","list":[
["[DHT]“,”inactive”,””,”0″,”0″,””,””,”0″],
["[Local Peer Discovery
]“,
“inactive”,””,”0″,”0″,””,””,”0″],
["[Peer Exchange]“,”inactive”,””,”0″,”0″,””,””,”0″],
["http://bt4
.torrents.ru/announce.php?uk=&","","","0","0","3m 0s","30s","0"]
]}

Help!

SamlpeImage Enlarger

23/11/2009
11:26
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I think that you have problems with the id's of the grid. Check tehse. As I see from the image you can select other items taht have [ in the text.

It will help me a lot if you publish the grid configuration too.

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.

24/11/2009
04:06
Avatar
sasha_gu
Member
Members
Forum Posts: 9
Member Since:
17/10/2009
sp_UserOfflineSmall Offline

Yes.

id celle must not have '[' ']'

I commented 'id' and it worksLaugh

........

    multiboxonly:true,
    multiselect:true,
    loadui:'disable',
    jsonReader: {
      root: "list",
      repeatitems : true, cell:""//, id: "0"
    },

....

25/11/2009
12:13
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

The id can have [ and ], but it should not contain space - i.e [aaaa bbb] is wrong id while [aaaabbb] is correct

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: 994

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