add spacer/border every 10th row in a Grid/Listbox

asked 2014-01-17 09:05:48 +0800

Forden gravatar image Forden
11 1

Hi, I have a Listbox with many rows. I'd like to add a space (just some white space) or a thicker line after every 10th row. So a User can easily count rows in blocks of 10 and for optical reasons to catch-eye a block.

I don't want paging.

Is it possible to apply a style like this?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-01-17 10:27:23 +0800

chillworld gravatar image chillworld flag of Belgium
5357 4 9


Greetz chill.

link publish delete flag offensive edit

answered 2014-01-17 11:58:13 +0800

Forden gravatar image Forden
11 1


I didn't know about forEachStatus.

Would it also be possible to apply some styling <html> / <separator> directly between the rows (at row/listitem level) and not at a listcell level?

link publish delete flag offensive edit


Adding row between the rows can be difficult or you must create your own renderer. Then in the code you can do what you want.

chillworld ( 2014-01-17 12:30:46 +0800 )edit

Well, in seconde thought, you can try a seconde template or check it with firebug. It is possible that its already in a row, and thx for accepting the answer

chillworld ( 2014-01-17 18:46:04 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2014-01-17 09:05:48 +0800

Seen: 13 times

Last updated: Jan 17 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More