Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

RenderCustom.cs

namespace Nop.Web.Framework.Models.DataTables;

/// 
/// Represents custom render for DataTables column
/// 
public partial class RenderCustom : IRender
{
    #region Ctor

    /// 
    /// Initializes a new instance of the RenderCustom class 
    /// 
    /// Custom render function name that is used in js
    public RenderCustom(string functionName)
    {
        FunctionName = functionName;
    }

    #endregion

    #region Properties

    /// 
    /// Gets or sets custom render function name(js)
    /// See also https://datatables.net/reference/option/columns.render
    /// 
    public string FunctionName { get; set; }

    #endregion
}