Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • AnandBhopale 54 posts 172 karma points
    May 28, 2021 @ 08:48
    AnandBhopale
    0

    Data Grid custom control.

    Dear All,

    I have created data grid using JQuery Datatable libraries. The Datatable is consuming data from REST API. The data table is generated and I am able to see all functionalities.

    For above, I have created custom field type under Umbraco Forms.

    But this is not what I want. I want to create this as Custom reusable Control

    1. It should be configurable to accept Web API url as parameter.
    2. Control should be available to add on any content page.

    I know, partial views can do this job for me. However, adding partial views on pages and making them configurable will have challenge.

    Any alternative way to fulfill the requirement ?

    Also, I want to show this on Front end site (and nothing as preview under backoffice or may be it will be optional).

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    May 28, 2021 @ 09:59
    Huw Reddick
    100

    You could create a macro that would do this.

  • AnandBhopale 54 posts 172 karma points
    Jun 01, 2021 @ 10:31
    AnandBhopale
    0

    Yes. Thank you.

    I have created a partial view and added it under Macro.

    It is working correctly

Please Sign in or register to post replies

Write your reply to:

Draft