SmartGrid
A smart PCF for model driven app subgrids
Install / Use
/learn @nijos/SmartGridREADME
SmartGrid
SmartGrid PCF control allows to create a new record directly from the subgrid without navigating to another screen.
Steps
- Import solution
- Add control to subgrid
- Give required parameters.
-
Primary Lookup: Logical name of the lookup field for the relationship. for example contact subgrid in the account is "*parentcustomerid_account",
-
Primary Entity Set: entity set name of the current entity where the subgrid is added .
This is to set the related lookup using web api, you can use Rest builder to get these parameter values correctly. for example if contact subgrid in account form is using parent customer relationship, to set the account lookup in contact following code is used var entity = {}; entity["parentcustomerid_account@odata.bind"] = "/accounts(xxxxx-xxxx-xxxx)";

Known bugs.
- Does not support N:N
- Validation for empty rows.
- Does not support composite(customer lookups).
- Poor CSS :)
Planned enahancements
- Inline editing.
- Validation for mandatory fields
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
