Extend CUBA components?

Is it possible to extend/change CUBA components - e.g. make a “MyDataGrid” from the DataGrid?

Hi Klaus,

perhaps you take a look into this topics:

Also there is the composite component since 7.1: Composite Components - CUBA Platform. Developer’s Manual

Is this what you are talking about?

Cheers
Mario

Hi @mario, thanks for taking the time to post an answer to my question.

I’m more interested in changing some of the behaviors of the DataGrid itself, but don’t want to recreate the whole component. I imagine something like this:

public class MyDataGrid extends WebDataGrid {
// my changed behavior ....

But this is not documented anywhere.

Cool addon btw!

Hi,

Cool addon btw!

Thanks. Not sure which one you are talking about, but if you have any kind of feedback - please let me know :wink:

Ok, I see. This is also possible, but not heavily documented - you are right. See: Appendix B: Application Properties - CUBA Platform. Developer’s Manual

@Pinyazhin showed an example here: How is the way to extends Components like Button - #3 от пользователя Pinyazhin - CUBA.Platform

Cheers
Mario

1 Like

I was talking about the addon from the other thread you posted: GitHub - mariodavid/cuba-component-wizard: This application component let's you create UI wizards through a specific UI component DSL :wink:

Thanks a lot, I will have a look at the example.