Adding colums to roomList

Everything about the SmartFoxBits UI Components for SmartFoxServer 1.x. Post your questions, suggestions and bug reports.

Moderators: Lapo, Bax

warhell
Posts: 199
Joined: 18 Aug 2007, 16:49
Location: Silicon Valley, CA
Contact:

Adding colums to roomList

Postby warhell » 28 May 2008, 12:15

Is it possible to add columns to the roomlist component?

For example, each game a user creates has 3 properties, number of players, theme, and a boolean option. I want to display all those in the roomList in different columns. Is this possible with the free community edition or would I need to get the source code?
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 28 May 2008, 16:48

The mCOM component upon which our RoomList and UserList are built doesn't feature multi-columns (or it would be a datagrid).
But you can create your own row renderer so that you can still display all the informations you need. Check this link for details on customizing the row renderers (you will also find a downloadable example that you can modify).
Paolo Bax
The SmartFoxServer Team

Return to “SmartFoxBits for SFS 1.x”

Who is online

Users browsing this forum: No registered users and 2 guests