fidley / falv

FALV - Fast ALV Grid
https://abapblog.com
GNU General Public License v3.0
144 stars 54 forks source link

chain methods (in column class) #45

Closed TimoStahl closed 6 years ago

TimoStahl commented 6 years ago

Hey, thanks for this libary. It would be nice, to chain methods like this:

Instead of:

falv->column('NAME')->set_reptext('Name' ).
falv->column('NAME')->set_color('C110').

you could do:

falv->column('NAME')->set_reptext('Name' )->set_color('C110').

What do you think?

Regards, Timo

fidley commented 6 years ago

Nice idea. This should be very simple :)

TimoStahl commented 6 years ago

@fidley so you will do it or should I make a pull request?

fidley commented 6 years ago

I can do it just give me few days to find half hour for that. I think the same I can do with layout.

fidley commented 6 years ago

@BlueTeck done with latest commit. Please check demo program ZDEMO_FALV18

TimoStahl commented 6 years ago

Thanks 👍