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
Grid with different numbers of columns in colNames and colModel
03/09/2009
06:44
Avatar
sudeval
Brazil
Member
Members
Forum Posts: 5
Member Since:
03/09/2009
sp_UserOfflineSmall Offline

It´s possible have a grid with N columns to view (colNames) but in model (colModel) has  N + X columns ?

for example:

colNames:['ID', 'NAME', 'NICK'],

colModel: [ {name: 'id', index: 'id'},

                  {name: 'name', index: 'name'},

                  {name: 'nick_name', index: 'nick_name'},

                  {name: 'email', index: 'email', "not show in grid ?"},

                  {name: 'password', index: 'password', "not show in grid ?"}

...

I need that columns "not show in grid" show only in edit, view and add navGrid Panel.

.navGrid('#pager',
            {edit:true, add:true, del:true, view: true...}

it´s possible ?

03/09/2009
07:28
Avatar
sudeval
Brazil
Member
Members
Forum Posts: 5
Member Since:
03/09/2009
sp_UserOfflineSmall Offline

Hi,

after read somes post in forum i resolved the "problem" with a propriety "hidden"

colNames:['ID', 'NAME', 'NICK'],

colModel: [ {name: 'id', index: 'id'},

 {name: 'name', index: 'name'},

{name: 'nick_name', index: 'nick_name'},

{name: 'email', index: 'email',  hidden:true},

{name: 'password', index: 'password', hidden: true}

thank´s.

03/09/2009
07:30
Avatar
sudeval
Brazil
Member
Members
Forum Posts: 5
Member Since:
03/09/2009
sp_UserOfflineSmall Offline

colNames must have names to hidden column.

colNames:['ID', 'NAME', 'NICK', 'EMAIL', 'PASSWORD'],

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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