dears , I just need your help as I've a grid contain two labels they are retrieving dates " start_date " " end_date "
I already create a "diff_button", I need when I press in this button to subtract the dates and get the difference in months
and then insert the value in a cell "difference "
I guess you have a template column with labels to display date and on a button click you want to show the difference in month in the third column. Please try the following code snippet: