This commit is contained in:
@@ -4,7 +4,7 @@ using Microsoft.AspNetCore.Mvc;
|
||||
namespace AyaNova.DataList
|
||||
{
|
||||
|
||||
public sealed class ListOptions
|
||||
public sealed class DataListOptions
|
||||
{
|
||||
public const int MaxPageSize = 1000;
|
||||
public const int DefaultOffset = 0;
|
||||
@@ -19,6 +19,13 @@ namespace AyaNova.DataList
|
||||
[FromBody, Required]
|
||||
public string DataListKey { get; set; }
|
||||
|
||||
/*
|
||||
columns:["PartInventoryTransactionEntryDate","PartPartNumber","PartWarehouseName","PartInventoryTransactionQuantity","PartInventoryTransactionDescription","PartInventoryTransactionSource","PartInventoryBalance"]
|
||||
sortBy:["PartInventoryTransactionEntryDate"],//same as grid natively does all columns here
|
||||
sortDesc:[true],//same as grid natively does, all columns here true or false each
|
||||
filter:[{column:"PartPartNumber",items:[{op: "=",value: "400735"}]}],
|
||||
variant:"string"
|
||||
*/
|
||||
[FromBody]
|
||||
public string ListView { get; set; }//optional, if null or empty will use default list view built into DataList
|
||||
|
||||
|
||||
Reference in New Issue
Block a user