Page 1 of 1

Grid without/no headers

Posted: Thu Apr 08, 2021 7:40 am
by hmgchang
Hola Masters,

I dont know how to make :
1. Grid without/no headers. I just want to have one row of grid without the header
2. A normal Grid, but only allowEdit for the first row.

Pls advise and thks

Thks n Rgds
Chang

Re: Grid without/no headers

Posted: Thu Apr 08, 2021 8:12 am
by serge_girard
Maybe option NOHEADERS ?

Serge

Re: Grid without/no headers

Posted: Thu Apr 08, 2021 9:05 am
by serge_girard
NOLINES
NOHEADERS

will do!

Re: Grid without/no headers

Posted: Thu Apr 08, 2021 11:13 am
by mol
you can use WHEN array of codeblocks to determine if operator wants to edit first row and allow it

Code: Select all

define GRID...
.
.
.
WHEN { {||Grid_WhenTest()}, ..., {||Grid_WhenTest()} )
END GRID

function Grid_WhenTest
return This.CellRowIndex == 1

Re: Grid without/no headers

Posted: Thu Apr 08, 2021 11:11 pm
by hmgchang
Hola Masters,

Thks Serge Girard, it works...
Thks Mol... Its a more flexible way to control the grid...

Grid is an unsatisfied good control.. we always ask more and more....

Thks n Rgds
Chang