Class CardFieldsBuilder
Represents a class for CardFieldsBuilder which includes content, title, tag, color, image URL, swimlane key, primary key, priority, and collapsible cards.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class CardFieldsBuilder
Constructors
CardFieldsBuilder(CardFields)
Initializes a new instance of the CardFieldsBuilder class.
Declaration
public CardFieldsBuilder(CardFields cardFields)
Parameters
Type | Name | Description |
---|---|---|
CardFields | cardFields | It accepts the data of CardFields |
Methods
CollapsibleCards(Action<CollapsibleCardsBuilder>)
It defines the kanban columns to hide paticular status cards based on the collapsibleCards field and key value.
Declaration
public CardFieldsBuilder CollapsibleCards(Action<CollapsibleCardsBuilder> collapsibleCards)
Parameters
Type | Name | Description |
---|---|---|
System.Action<CollapsibleCardsBuilder> | collapsibleCards | The CollapsibleCards |
Returns
Type | Description |
---|---|
CardFieldsBuilder |
Color(String)
The datasource field mapping for card's color mapping.
Declaration
public CardFieldsBuilder Color(string color)
Parameters
Type | Name | Description |
---|---|---|
System.String | color | It accepts datasource field mapping name for color. |
Returns
Type | Description |
---|---|
CardFieldsBuilder |
Content(String)
The datasource field mapping for card's summary.
Declaration
public CardFieldsBuilder Content(string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | content | It accepts datasource field mapping name for content. |
Returns
Type | Description |
---|---|
CardFieldsBuilder |
ImageUrl(String)
The datasource field mapping for card's Image url.
Declaration
public CardFieldsBuilder ImageUrl(string imageUrl)
Parameters
Type | Name | Description |
---|---|---|
System.String | imageUrl | It accepts datasource field mapping name for image url. |
Returns
Type | Description |
---|---|
CardFieldsBuilder |
PrimaryKey(String)
The datasource field mapping for card's primary key which is used mainly in DragandDrop, Editing.
Declaration
public CardFieldsBuilder PrimaryKey(string primarykey)
Parameters
Type | Name | Description |
---|---|---|
System.String | primarykey | It accepts datasource field mapping name for primary key. |
Returns
Type | Description |
---|---|
CardFieldsBuilder |
Priority(String)
The datasource field to maintain card's priority.
Declaration
public CardFieldsBuilder Priority(string priority)
Parameters
Type | Name | Description |
---|---|---|
System.String | priority | It accepts datasource field mapping name for priority. |
Returns
Type | Description |
---|---|
CardFieldsBuilder |
SwimlaneKey(String)
The datasource field mapping to enable swimlane grouping based on the given key field.
Declaration
public CardFieldsBuilder SwimlaneKey(string swimlanekey)
Parameters
Type | Name | Description |
---|---|---|
System.String | swimlanekey | It accepts datasource field mapping name for swimlane key. |
Returns
Type | Description |
---|---|
CardFieldsBuilder |
Tag(String)
The datasource field mapping for card's tag.
Declaration
public CardFieldsBuilder Tag(string tag)
Parameters
Type | Name | Description |
---|---|---|
System.String | tag | It accepts datasource field mapping name for tag. |
Returns
Type | Description |
---|---|
CardFieldsBuilder |
Title(String)
The datasource field mapping for card's summary.
Declaration
public CardFieldsBuilder Title(string title)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | It accepts datasource field mapping name for content. |
Returns
Type | Description |
---|---|
CardFieldsBuilder |