0

Format cells in grid for border lines and colour?

asked 2019-05-28 16:21:15 +0800

davout gravatar image davout
1435 3 18

Is it possible to set the border lines and background colors for a cell within a grid?

For example, I want a cell in a grid to represent a total. Hence, I would like to have the top edge and bottom edge of the cell to have a heavy line border to highlight that this is cell is different from the cells above it.

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-05-29 12:46:29 +0800

hawk gravatar image hawk
3250 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2019-05-29 12:47:46 +0800

The basic idea is http://zkfiddle.org/sample/6gehmr/4-highlight-a-cell

If your grid is more complicated, you need to render the cell of total a bit different from others, so that you can easily locate it with CSS selector, e.g. specify id or sclass attribute.

Or put total in a footer.

If you still have problems, please provide related zul.

link publish delete flag offensive 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

Follow
1 follower

RSS

Stats

Asked: 2019-05-28 16:21:15 +0800

Seen: 7 times

Last updated: May 29 '19

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