Add expand property to rows and support API for it