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_Related Related Topics sp_TopicIcon
I need sample to customize add and edit forms
08/11/2010
18:23
Avatar
Wafaas
Member
Members
Forum Posts: 7
Member Since:
04/11/2010
sp_UserOfflineSmall Offline

Hi all,

I have a grid of 3 columns (Title, Concept, Category). The editable option for 2nd and 3rd columns is false, so i only have Tilte in the edit form. i have 2 issues, the first one is that Title link is a composite column because it supposed to have 2 values one for name and the other for url.

My 1st question is: how to create custom edit form with extra input field for the url value below the name input.

The 2nd question is: how to add other input fields not included in the colNames or ColModel and consequently not included in the datagrid.

Thanks in Advance

10/11/2010
04:59
Avatar
BenRivera
Member
Members
Forum Posts: 11
Member Since:
08/06/2010
sp_UserOfflineSmall Offline

Your best bet is to include the column in your grid but don't display it.  Then you can display it only in the edit form:

colNames: ['Title','URL','Concept','Category'],

colModel:[

{name:'title',index:'title'...},

{name:'url',index:'url', hidden: true, /* doesn't dsplay in the grid */

 editrules:{edithidden:true} /*displays the field on edit*/},

...]

Good luck,

Ben

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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