Forum

July 12th, 2025
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 a dynamic number of columns
18/05/2010
14:34
Avatar
Cristabelle
New Member
Members
Forum Posts: 2
Member Since:
18/05/2010
sp_UserOfflineSmall Offline

Hey everybody,

I'm newbie using this plugin, I wonder if it's possible to create un grid with a dynamic number of columns.

The project I'm working on needs a grid in which the columns are the members of a workgroup et the rows are the names of some directories of a tree (this is not the problem). The number of the members is dynamic (it depends with the project to which the member is attributed). And of course the number of of rows is dynamic (dependently with the number of directories of the tree).

Help! If it's possible, can you please give me some code snippets or any thing that can help.

Thanks Smile

19/05/2010
05:09
Avatar
DaElectric
Member
Members
Forum Posts: 16
Member Since:
15/05/2010
sp_UserOfflineSmall Offline

What I did was use a server side page that creates the list of columns in a json fashion. I then call this method before I create the table. Then I can just

caption: TableProps.Title,

colNames: TableProps.colNames

Works out pretty good for me because I am showing the table based on user input of a tree grid.

19/05/2010
11:17
Avatar
Cristabelle
New Member
Members
Forum Posts: 2
Member Since:
18/05/2010
sp_UserOfflineSmall Offline

Oh! Thank you very much.

I'll try it and I'll post the result.Smile

Forum Timezone: Europe/Sofia

Most Users Ever Online: 994

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