KoGrid icon indicating copy to clipboard operation
KoGrid copied to clipboard

need dynamic cell templates with durandal

Open shannonhorn opened this issue 10 years ago • 2 comments

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!

shannonhorn avatar Apr 29 '14 21:04 shannonhorn

as a reference... capture

shannonhorn avatar Apr 29 '14 21:04 shannonhorn

I could also do with a way to use external templates rather than having them inlined in the page, has there been any progress or any info on how to achieve this?

grofit avatar Jan 30 '15 13:01 grofit