April 13, 2020
Estimated Post Reading Time ~

Creating a custom CQ component that uses a dialog grid

You can create an Adobe Experience Manager (AEM) custom component that contains a grid control that displays data. The custom component contains a dialog that renders a grid. The data grid is an instance of CQ.Ext.grid.GridPanel. For information, see CQ.Ext.grid.GridPanel.

The grid lets an AEM author open the component's dialog and view data, as shown in the following illustration.


A grid control located in an AEM component's dialog

You can populate the grid by using a CQ.Ext.data.Store instance. You can define a JavaScript method that dynamically creates a CQ.Ext.data.Store instance to populate the grid with data obtained at run-time.

This article walks you through how to build a custom AEM component that contains the data grid. 




By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.