Michael Q
Michael Q

Reputation: 71

How would one integrate ag-grid into MDriven Turnkey?

I'm interested in using MDriven Turnkey, but I have to have a powerful full-featured data grid. The best grid that I have found is https://www.ag-grid.com/

  1. How would I go about integrating this into Turnkey? Is it even possible?
  2. Would this negate the advantages of data management and Viewmodels etc built into the MDriven Designer?
  3. Has anyone had any experience of doing this?
  4. Is there any information anywhere on how to do this?

Upvotes: 3

Views: 52

Answers (1)

Hans Karlsen
Hans Karlsen

Reputation: 2435

Yes you can use any front end javascript based control with MDriven Turnkey.

And yes - depending on how much work you put into making your integration generic or not you loose some advantages for the screens that depend on the new control.

If we focus on the basic - just make it show up and show data:

  1. Use EXT_Components in MDriven as described here
  2. Start by doing a non generic control with hard coded columns and hard coded knowledge of what data to use (will be unique for 1 screen or use case)
  3. You can at any time see what data you have accessible in the page by appending /debug to url of a Turnkey screen as described here
  4. If you later on want to make a generic control, i.e. a control that reads meta data from Turnkey and use that meta data to create columns as designed in the ViewModel it is more complex but absolutely doable since screen meta data is available as described here

Upvotes: 1

Related Questions