Syncfusion.EJ2

IsPrimaryKey Property (GridColumn)

If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
Syntax
[DefaultValue(false)]
[HtmlAttributeName("isPrimaryKey")]
[Newtonsoft.Json.JsonProperty("isPrimaryKey")]
public bool IsPrimaryKey {get; set;}
[DefaultValue(false)]
[HtmlAttributeName("isPrimaryKey")]
[Newtonsoft.Json.JsonProperty("isPrimaryKey")]
public:
property bool IsPrimaryKey {
   bool get();
   void set (    bool value);
}
AssemblyVersion

Syncfusion.EJ2: 17.3500.0.26

See Also