grid with rowexpander plugin - ExtJS Grid with RowExpander plugin

ExtJS Grid with RowExpander plugin

Posted on

Among many very important and useful plug-ins for ExtJS grid is RowExpander plug-in. It is particularly useful in the scenario where you have more date to show in grid but less space available on screen. In this case you can go for grid’s rowexpander plug-in.

RowExpander is functionality where if user wants he can click/double-click on any row to see more data on grid. The additional data will be shown on below the row after it gets expanded. When user double-clicks on row, expandrow event get fired on Grid’s view. Following code snippet shows the configuration of RowExpander plugin in grid.

As per the above code snippet, user will be shown book details along with books image when user double-clicks on any row on grid.

Output:

grid with rowexpander plugin - ExtJS Grid with RowExpander plugin

I hope you enjoy the post. Happy coding 🙂

Source techzoo.org