PowerApps Grid Control – How to make Cell Renderers more Generic


The Power Apps grid control is a new and improved version of the data grid control for Power Platform model-driven applications. One of the most appealing aspects of the new grid control is the ability to customize the look and feel of the grid columns using specialized PCF controls known as Cell Renderers. However, the current architecture of cell renderers lacks the ability to inject parameters to the control to make them more generic and reusable. In this post, the author shows how to attain a certain degree of genericity by making the cell renderer aware of their root table and how to obtain runtime information about lookup fields present in the underlying grid data. The end-result can be appreciated in the author's latest community PCF project, the RecordImage Cell Renderer.


Article 19m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time