can anybody tell me how to expand and collapse rows from specific row number in FLEX GRID

Since I am new to flex even I don't have sample code also in my mind

can anybody tell me how to expand and collapse rows from specific row number in FLEX GRID example: I want row number 6 always have expand or collapse symbol.(some sample code would very helpfull for me)