Grid onclick return incorrect column no

i have added new columns into a grid by using grid.addcols(). however, when i click the grid, only first newly column is able to return correct column no and the rest will report as same as first column
any idea?

'grid1 has 1 column at design time

grid1.addCols(6)

function grid1_onclick(event)
     Print event.target.id   'only first newly column is return correct column no
end function

Tip : If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly.

I’m unable to reproduce this. Can you try again?

sample attachedProject1.appstudio.zip (12.6 KB)

when click the following grid:

first grid -> report wrong column no (title has value on design time)
second grid => column no is ok but border-style:outset is not function (title has no value on design time)
third grid => use init to recreate grid, but report wrong in grid name

Thanks
Teo

It was a bug in AppStudio - in some the oldest code it has.

It is fixed in the next build - can you wait a few days?

sure.

Thanks
Teo