JustPy comes with a grid component based on ag-Grid Community which is a free to use product distributed under the MIT License. The features provided in the Community version of ag-Grid are comprehensive and its API and documentation are clear and easy to work with.
An ag-Grid grid is represented in JustPy as an instance of the class AgGrid. The grid is defined by the
The AgGrid component comes with some default settings that can be changed. One of these setting is the
style attribute which gives some width and height to the grid.
If you change the style, make sure to specify height and width. Without these, the grid will not be displayed.
The simplest way to load data to the grid is from a pandas frame. We will cover some examples of this below.