Hi, thanks for the response.
I'm expecting to have a animation when switching Grid Pages.
I have seen an example of animation when selecting a row in the Grid.
I would like to do some animation when changing the page, like a background transition
Have you ever seen those Airport panels? I have a requirement to do something look like.
The page is changing programmatically, so for the user notice the page has changed, adding some animation would be great.

|
@if (PageNumber == 1)
{
<style>
.e-grid .e-gridheader .e-headercell{
background-color: black;
color: yellow;
}
.e-grid .e-gridheader .e-headercelldiv{
font-size: 20px;
}
.e-grid .e-gridcontent .e-rowcell{
background-color: black;
color: yellow !important;
font-size: 20px;
}
</style>
}
@if (PageNumber == 2)
{
<style>
.e-grid .e-gridheader .e-headercell{
background-color: orange;
color: blue;
}
.e-grid .e-gridheader .e-headercelldiv{
font-size: 20px;
}
.e-grid .e-gridcontent .e-rowcell{
background-color: orange;
color: blue !important;
font-size: 20px;
}
</style>
}
public double PageNumber = 1;
public void OnActionBegin(ActionEventArgs<Order> args)
{
if (args.RequestType.Equals(Action.Paging))
{
PageNumber = args.CurrentPage;
}
}
|
Thanks for the answer