Skip to main content
February 15, 2021
Question

Text box dispalyed after grid field is edited

  • February 15, 2021
  • 3 replies
  • 0 views

Hello, 

I have an interface with a grid which has a column called actual time which is an editable field and multiple entries can be added. Suppose i enter 3 rows and there are 3 values for actual time say 5, 10,15 and if i edit the first value ie 5, a text box should be displayed where a comment can be added. 

So if any of the row values is edited, the text box is displayed. 

TIA!!

    3 replies

    stefanhelzle0001
    Brainy
    February 15, 2021

    You can make a text field visible depending on a local variable. This variable can be set to false by default and a a!save() in your grid can set it to true.

    February 15, 2021

    Hi Stefan, 

    Thank you for your response. 

    The flag approach is possible although i do not want the flag to be set to true on the first iteration. 

    If i have entered 5, 10, 15 and then i go back to 5 and change it to say 7, only then i would want the text field to be displayed. 

    stefanhelzle0001
    Brainy
    February 15, 2021

    Then you would want to put this logic into the a!save. It might be that you need some more variables to store the "old" value for comparison.