The SfDataGrid can be aligned to the center of its parent, by setting the gravity of its parent to center and by setting appropriate layout parameters to the grid.
Refer the below code example in which the gravity of the grid’s parent is set as “center” and its layout parameters is set as wrap_content to display the grid in the center of its parent.
The below code illustrates setting width and height constraints to a SfDataGrid.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.