NetTalk Central

Author Topic: NT7.19 Browse Header Column Names Move  (Read 2960 times)

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
NT7.19 Browse Header Column Names Move
« on: August 13, 2013, 02:07:34 AM »
Hi Browse

I have a browse with 3 buttons in the 3 first columns of each rows. The button action is 'Other'. On each button under each column condition I have some conditions in e.g.  p_web.gsv('ChangeQuote')=1 and p_web.GSV('q:BrokerDone')=0
This is working fine.

I update now the condition of each button with extra details e.g.  p_web.gsv('ChangeQuote')=1 and p_web.GSV('q:BrokerDone')=0 and Q:BrokerContactId = p_web.GSV('BrokerContact')

I notice after I update the conditions in the buttons that the header headings is moving and not over the corect columns anymore. I include 2 sample screenshots.

I also notice that when a button is not displayed in the row, the data in the columns is also one space to the left in that row.

Any suggestions how to fix it.

Kind regards
Johan



[attachment deleted by admin]

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: NT7.19 Browse Header Column Names Move
« Reply #1 on: August 13, 2013, 06:04:18 AM »
try disable button condition not hide or include condition.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT7.19 Browse Header Column Names Move
« Reply #2 on: August 13, 2013, 06:28:43 AM »
depends on exactly where you set the condition.

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Re: NT7.19 Browse Header Column Names Move
« Reply #3 on: August 13, 2013, 09:18:57 PM »
I set the condition on the button, tab 'Column Properties' under 'Column Conditions', the question is it was working fine with the condition without moving the Header names, then I added more code into the condition and after that, it start moving the Header Names.

I do not want to disable the buttons.

Regards
Johan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT7.19 Browse Header Column Names Move
« Reply #4 on: August 13, 2013, 11:45:51 PM »
putting it there affects the "whole column". Since it is changing on a row by row basis that going to cause the table some heart-ache. (and whether the header exists or not will depend on what the value of your condition when the header generates.)

If you want the _cell_ to be conditional then rather use the Conditional Tab. That sets a condition which is applied on a row-by-row basis.

cheers
Bruce