0

Grid Columns Visible

asked 2014-07-08 14:59:32 +0800

IngoB gravatar image IngoB flag of Germany
256 6

Hi,

I use a grid and want to check which columns are visible

http://zkfiddle.org/sample/1snibh/1-Columns-visible

The problem is with menupopup="auto" is, that isVisible() is not set. If I check with Firebug, each "hidden" column gets:

text-align: center; width: 0px; visibility: hidden;

But as you can see, i don't get the style (its clientside only?). Does anyone have an idea how to check the visibility of the columns?

delete flag offensive retag edit

Comments

Hi, yes, it is client side only, do you want to heck the visibility of the columns in server side?

jimmyshiau ( 2014-07-09 02:49:58 +0800 )edit

I want to export a grid as a csv/pdf/xls file. The file has to "look" exactly like the grid (sort/hidden columns)

IngoB ( 2014-07-09 08:12:00 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-07-09 03:08:35 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

If you want to update visible in server side, you need to use customize column, please refer to http://zkfiddle.org/sample/1snibh/2-Columns-visible

link publish delete flag offensive edit

Comments

Thank you very much, this is exactly what I was looking for :)

IngoB ( 2014-07-09 08:08:58 +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

Follow
1 follower

RSS

Stats

Asked: 2014-07-08 14:59:32 +0800

Seen: 13 times

Last updated: Jul 09 '14

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