Container properties / Column

A label in a repeating panel of a data grid has a property under “Container Properties” called “Column” which contains what looks like random letters.

What’s that for?

It’s the ID of the column in the DataGrid. (Most people assemble them in the designer, but you can of course do it all from code - see the DataGrid API docs for an example.)

In general, the “Container Properties” you see in the designer are the same thing as the keyword arguments you pass to add_component(). This means that which options are available depends on what kind of container the component is in. You’ll see a width option if your component is in a FlowPanel, a full_width_row option in a ColumnPanel, etc.

2 Likes