Hello!
I have an Application with the Data Grid for Reactive. And I'm using it on a Block and inserting that block on pages, so I can in some way abstract certain behaviours that I want. But I'm not able to deffine the Header of the Grid. Explaining further.
In this example my Data Grid is in the "DataGrid" Block, and I fetch the data from the "Home Page" (GetBooks).
The Grid Works
But I don't want those names in the headers of the columns. But When I try to add, for instance, a Text Column on the Home page in the container of the Grid, is not possible.
But if I try, on directly on the block, I can.
Is there a way to define the columns on the parent page? Because I want to use the block with the grid on many pages but with different columns and data for each page.
I attached this example.
Best Regards,
Hi @Tiago Sousa
The use you're trying to do is not valid in the OutSystems language.You can add the block to the block but once that block is inside a screen you'll lose access (look at the red pointer on the mouse) to add other blocks since the block has no placeholder on that block and, because the DataGrid is already a block itself.
The concept of the block is to promote reusability and the DataGrid is already a block so you should use it instead of another extra block.
Cheers,GM
Thank you @Gonçalo Martins.