brasov2de / GridCustomizerControl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GridCustomizerControl

This repository contains several examples for Power Apps Grid customizer control.

CellRenderer

This is an example of how to render a cells with your own renderer. This example allows you to also edit the values right inside the Grid. I've took a boolean and an optionset. image

GridCustomizer

This one is not implemented to the end. It shows a way to overwrite the complete rendering: all column headers, all cells. loading aso. But didn't found a valid use case for this until now.

Calculated columns

This Power Apps Grid control calculated the data for a column (next visit) based on the last scheduled appointment. For online szenarios, we can work with calculated columns in Dataverse, but this doesn't apply in offline mode. This control solves the problem and calculates the next visit. It also corrects the next visit if the last scheduled appointment is in the past, by proposing the next monday instead. image

Related records

This example of Power Apps Grid control shows the users associated to a record (many-to-many relationshio). The users are shown async, executing a request for each row. They are cached inside the PCF, but reloaded each time the PCF "init" method is called. image

Related records : batched with debouncing

An exmaple similar to "related records" example. This time the requests are debounced, and collected in only one fetch. After that all the promises are resolved. The RequestsManager is taking care or debouncing and caching the data, 2022-10-29 11_56_03-Clipboard

About


Languages

Language:TypeScript 94.0%Language:CSS 4.2%Language:JavaScript 1.9%