Refreshing flexgrid color and checkboxes

Tagged: ,

  • nmo 2 years, 4 months ago

    I work with a bound flexgrid. I have got a column bounded to the field named VALID (values are 1 or 0)
    After bounding, I execute the following line, to get checkboxes instead :

    FLX_CBarre.ColDataType(FLX_CBarre.ColIndex("VALID")) = flexDTBoolean

    If I run the code, no effect, I still see 1 or 0 in the column. But if I put a breakpoint just before this line and then launch the code without any change, it works well.
    I have the same problem when affecting colors to the grid, or changing colum header

    I work with VB6 and my grid is bounded to an adodc control
    Can you help me please ?
    Thank you
    Best regards

    Attachments:
    1. with_breakpoint

      with_breakpoint.png

    2. without_breakpoint

      without_breakpoint.png

  • 22p
    C1_GatimT22p 2 years, 4 months ago

    Hi,

    As per my response on your support ticket, I tested the same by initializing the grid with 1 & 0 and it worked fine on setting the ColDataType as Boolean. However as per your observation can you share a sample form your side so that I can have a look

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.