Hi ,
Greetings from Syncfusion,
Based on your query, we have prepared a sample using custom CSS to achieve your requirement. Please refer to the code snippet and sample for your reference.
<SfGrid DataSource="@Orders" AllowPaging="true" height="273px"> <GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true"></GridEditSettings> <GridColumns> <GridColumn Field=@nameof(OrderData.OrderID) HeaderText="Order ID" IsPrimaryKey="true" TextAlign="TextAlign.Right" Width="100" ValidationRules="@(new ValidationRules{ Required=true})"></GridColumn> <GridColumn Field=@nameof(OrderData.CustomerID) HeaderText="Customer Name" Width="120" ValidationRules="@(new ValidationRules{ Required=true})"></GridColumn> <GridColumn Field=@nameof(OrderData.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120" EditType="EditType.NumericEdit" ValidationRules="@(new ValidationRules{ Required=true,Min=1,Max=1000})"></GridColumn> <GridColumn Field=@nameof(OrderData.ShipCountry) HeaderText="ShipCountry" EditType="EditType.DropDownEdit" TextAlign="TextAlign.Right" Width="150"></GridColumn> </GridColumns> </SfGrid>
<style> .e-pager .e-numericcontainer .e-currentitem { border: 3px solid #e9ecef; } </style>
|
Regards,
Guhanathan R
Attachment:
Pager_da3c90f.zip