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
Problem with HTML Dropdown 'Select' when using Firefox/Chrome.
15/10/2010
22:06
Avatar
shivani_1611
India
New Member
Members
Forum Posts: 1
Member Since:
15/10/2010
sp_UserOfflineSmall Offline

Hi

we are using Jqgrid for the edit purpose and we have one of the column as dropdown. when i check this in IE 8 everything works fine. but incase of the firefox/chrome that dropdown does not have "Selected" attribute set for the selected item of the dropdown and because of that whenever we try to save it default to the 0 index and on save no value return and it throws an error.

Here is the snapshot of the code.

    colNames: ['RoleUID', 'Rolename', 'IsActiveRole'],
                colModel:
                [

                    { name: 'RoleUID', index: RoleUID, editrules: { number: true} },
                    { name: 'RoleName', index: 'Rolename', width: 160, edittype: 'select', editable: true},
                    { name: 'IsActiveRole', index: 'IsActiveRole', edittype: 'select', editable: true, editoptions: { value: "1:Yes;0:No"} }
                 
                ]

// this is the code to populate the Rolename value dynamically.

loadComplete: function() {

                    var RoleNameList = FillRoleNames();
                    jQuery("#dtCharges").setColProp('RoleName', { editoptions: { value: RoleNameList} });
                },

Please help me as I am trying to find this issue but really not successful till now. How can we fix this for the FF and chrome?Cry

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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