Knockout-Contrib / Knockout-Contrib/KoGrid

need dynamic cell templates with durandal

Open
#284 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
277
Forks
124
PR merge metrics
No merged PRs in 30d

Description

I'm using durandal and breeze and am using a few instances of kogrid on my pages. All are working great. However, I do have a more advanced instance of the grid that needs to display a different type of control (textbox, select, etc) on different rows within a single column. I need to look at each cell within the column, as it is rendered, and determine the control to display based on the data returned from the server.

Additionally, other items on the view may change that will cause the complex grid to be updated with fresh data and new controls in that column.

I've been researching, testing, and experimenting using dynamic ko templates, durandal composition, etc but have yet to get a working solution. Any input would be GREATLY appreciated, thx!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Reproduce the Durandal/Breeze KoGrid setup described and clarify the expected per-row controls and refresh behavior; done would be a confirmed working approach for dynamic cell templates.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.