Results 1 to 3 of 3

Thread: pbServerOnHeaderClick

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default pbServerOnHeaderClick

    Hi All.
    I'm trying the new Dataflex version 20.0.6.130
    I need to change the index at runtime.
    I tried to set the pbServerOnHeaderClick property to true and update the OnHeaderClick procedure.
    The index is changed but the column is inhibited for searching!
    Is it a bugs?
    Also is there a way to know the column where I am to set the index through the OnRowClick procedure?
    How can I solve?

    Thank you
    Regards

    Code:
    Object oPromptList is a cWebPromptList
         Set pbFillHeight to True
         Set piColumnSpan to 12
    
    
        Object oanagrafana_ean is a cWebColumn
            Entry_Item anagraf.ana_ean
            Set psCaption to "Codice Ean"
            Set piWidth to 300
            Set pbServerOnHeaderClick to True
    
            Procedure OnHeaderClick
                Forward Send OnHeaderClick
                Set Ordering of oanagraf_DD to 20
            End_Procedure
        End_Object 
    
        Object oanagrafana_con is a cWebColumn
            Entry_Item anagraf.ana_cod
            Set psCaption to "Codice"
            Set piWidth to 300
            Set pbServerOnHeaderClick to True
    
            Procedure OnHeaderClick
                Forward Send OnHeaderClick
                Set Ordering of oanagraf_DD to 1
            End_Procedure
        End_Object 
    
    
    end_object
    Last edited by Giuseppe Catania; 26-Mar-2021 at 05:26 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •