cancel
Showing results for 
Search instead for 
Did you mean: 

Collapse Rows on a Grid in SAP

Former Member
0 Kudos

Hello everyone. I am creating a form with a grid. I am having trouble collapsing all of the rows in my grid upon loading the form. It automatically expands when I load the form.

I've tried using:


oGrid.Rows.CollapseAll()

and it doesn't seem to do the trick. If anyone has a quick solution, it would be greatly appreciated. Thanks in advance!

Quoc

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi...

Before Loading grid give

oForm.Freeze(True)

After Loading grid

oForm.Freeze(False)

Regards...

Billa 2007

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks for the tip.