Hiding Blank Columns

QuestionsHiding Blank Columns
David Gilmore asked 7 years ago

Per https://phpgrid.desk.com/customer/portal/questions/14415489-hidding-empty-columns what is the syntax to
1. check for blank columns and
2. hide those columns.

1 Answers
Abu Ghufran answered 7 years ago

Hi,

Custom JS code may be required to achieve this.

One solution is to connect loadComplete event, which is called when data is loaded in grid.
In callback function, check if some columns (first row) has blank data, if yes hide that column using JS code.

If you think this is practical, let me know … i'll prepare a demo.

Your Answer

7 + 8 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?