Integrated Application Platform › Forums › General › ListView – how to make visible added rows? › Reply To: ListView – how to make visible added rows?
March 26, 2015 at 9:27 am
#1165
Keymaster
I will correct the help, thanks.
Here is an example that works for me:
Window(Controller {
New()
{
.list = .FindControl('List')
.list.SetColumns(#(name, age))
}
Controls()
{
return ['Vert',
['ListView', style: LVS.REPORT],
#(Button Add)]
}
On_Add()
{
.list.Addrow(#(name: Bob, age: 24))
.list.Addrow(#(name: Sue, age: 19))
}
})