NetTalk Central

Author Topic: No class in browse header  (Read 3871 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
No class in browse header
« on: November 21, 2011, 11:18:37 AM »
Hi Bruce,

I have a browse where some columns that are conditionally hidden or shown.
The result is that the las column, which is conditioned, has no color in the heading.
See the png what I mean. The right most column has no _th_ tag

The browse does what I want it to do. Only the cosmetics need some polishing  :).

Cheers,
Rene Simons.

P.s.
Very very nice job you are doing on NT6.
I ordered it right after I finished watching the webinar recording

[attachment deleted by admin]
Rene Simons
NT14.14

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: No class in browse header
« Reply #1 on: November 21, 2011, 01:49:41 PM »
Rene,

Hi there.

I've seen this happen when using the "span columns" has been used by the heading or column in the template.

WHEN I've miscounted one or the other, and they are out of synch.

Not sure if that helps.
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: No class in browse header
« Reply #2 on: November 21, 2011, 09:09:02 PM »
Hi Rene,
From your pic it looks like you've got multiple columns in the same column.
I think you would need to make an example of how you are getting this effect in order to comment on the header.

cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: No class in browse header
« Reply #3 on: November 22, 2011, 03:57:15 AM »
Hi,

You're absolutely right Bruce.
I only show one of 7 columns in the second column.
Only the one that is appropiate for the particular row.
I achieve that by using the "Column condition" which tests a value  in the "mother" record of the row in question.
The "mother" is in the browse view.

This way I build a flexible form. Hence the EIP.

It works fine this way. Only the column heading styling doesn't. But I can live with that.

I have added some png files to illustrate

Cheers,
Rene




[attachment deleted by admin]
« Last Edit: November 22, 2011, 04:08:06 AM by Rene Simons »
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: No class in browse header
« Reply #4 on: November 22, 2011, 05:20:05 AM »
The ""Column condition" tests happen when the header is generated as well. Since they're all defaulting to "no", no header is generated. You may want to add a header manually.

cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: No class in browse header
« Reply #5 on: November 22, 2011, 10:05:41 AM »
Hi Bruce,

Fixed it see png.
Looks nice.

Thanks!
Rene



[attachment deleted by admin]
Rene Simons
NT14.14