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
multiple checkbox in SearchDropDown(search for multiple value)
29/08/2014
23:53
Avatar
blgsyrmhnds
Member
Members
Forum Posts: 4
Member Since:
29/08/2014
sp_UserOfflineSmall Offline

   hi

i want to add checkbox in SearchDropDown in jgrid,i want to search for multiple value

are there any sample for this or any idea?

i want to perform thisImage Enlarger

31/08/2014
23:23
Avatar
blgsyrmhnds
Member
Members
Forum Posts: 4
Member Since:
29/08/2014
sp_UserOfflineSmall Offline

are there any one here?

is it possible to add checkbox inside dropdown as i describen in attached image?i want to choose multiple value in drodown..i want to check multiple values and then filter list with checked values

01/09/2014
11:39
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hi!

You can use some jQuery plugins or jQuery UI Widget to implement your requirement. One initialize the custom control/plugin/widget typically by calling some dataInit callback of searchoptions in the corresponding column of colModel.

Take a look in my old answers, which provides demos using jQuery UI MultiSelect Widget (get here the last version): this one, this one and another one.

Another way will be to use select2 plugin with the option multiple: true. It have another interface, but it can be used to implement multiselect too.

Best regards
Oleg

01/09/2014
12:36
Avatar
blgsyrmhnds
Member
Members
Forum Posts: 4
Member Since:
29/08/2014
sp_UserOfflineSmall Offline

hi

where is searchoptions?or what do you mean with colModel?

because in my html view i call just that line

   @Html.Trirand().JQGrid(Model.OrdersGrid, "JQGrid1")  

and i am use jgrid mvc dll 

in model there is c# code..i can not use jquery in here 

there is just only two javascript file(jquery.jqGrid.min.js and grid.locale-en.js) 

how can i handle that?how can i access dropdown in jgrid?i want to access it and append it checkbox

01/09/2014
13:04
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Probably you posted in the wrong forum. jqGrid is jQuery plugin written in JavaScript. It's open source and can be downloaded from trirand.com. There are some commercial solutions like from trirand.net for example. To understand the products good you still should have the knowledge of original JavaScript library, but you do many things in C# (or ASPX). You should read the corresponding documentation (like "Searching (Filtering) data" part of the documentation). In any way you should post your questions to the correct forum (for example here) and not in the current one.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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