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
Select filter display problem
19/03/2010
16:31
Avatar
HiveHicks
New Member
Members
Forum Posts: 1
Member Since:
19/03/2010
sp_UserOfflineSmall Offline

Hello!

I've got a grid with two columns that use select filter field.

$("#list").jqGrid({

url: '<%= Url.Action("All") %>',

datatype: 'json',

mtype: 'GET',

colNames: ["Status", "Type"],

colModel: [

{ name: 'Status', index: 'Status', align: 'left', stype: "select",

searchoptions: { dataUrl: '<%= Url.Action("InvoiceStatusList") %>', sopt: ['eq', 'ne'] } },

{ name: 'Type', index: 'Type', align: 'left', stype: "select",

searchoptions: { dataUrl: '<%= Url.Action("InvoiceTypeList") %>', sopt: ['eq', 'ne'] } }

],

pager: $('#pager'),

rowNum: 10,

rowList: [5, 10, 20, 50],

sortname: 'Id',

sortorder: "desc",

viewrecords: true,

imgpath: '<%= Url.Content("~/Content/css/cupertino/images") %>',

autowidth: true,

height: 300

});

$("#list").jqGrid('filterToolbar', {});

Te problem is that when the page is shown, both select lists are positioned in the last column so that the first is seen (it occupies 100% of column's width) and the second is not visible (although I can see it in the Inspector). The HTML that I get in this place:

<div style="width:100%;position:relative;height:100%;padding-right:0.3em;"><select id="gs_Type" name="Type" style="width: 100%; "><option value="Created">Created</option>

<option value="Advance">Advance</option>

<option value="Expired">Expired</option>

<option value="Approved">Approved</option>

</select><select id="gs_Type" name="Type" style="width: 100%; "><option value="Transfer">Transfer</option>

<option value="WebMoney">WebMoney</option>

<option value="YandexMoney">YandexMoney</option>

<option value="TestCredits">TestCredits</option>

</select></div>

What's the problem with it?Confused

22/03/2010
11:21
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Which version is used?

Also try to use the latest one.

Maybe you refere to this fixed bug:

http://github.com/tonytomov/jq.....caa84ce296

Best 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:
51 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