框架 asp.net core mvc
按下pager控件的前页后页按钮的时候,flexgrid里的选择行变成下一页或上一页的第一行,
按下前页后页按钮的时候,能不能保持原来选择行的状态,下一页或上一页的第一行不自动变为选择行?
- <c1-flex-grid auto-generate-columns="false"
- is-read-only="true"
- selection-mode="ListBox"
- allow-sorting="true"
- id="Grid">
- <c1-items-source source-collection="@list" page-size="10" />
- <c1-flex-grid-column binding="Id" />
- <c1-flex-grid-column binding="Group" />
- <c1-flex-grid-column binding="Name" />
- <c1-flex-grid-column binding="No1" />
- <c1-flex-grid-column binding="No2" align="right" />
- <c1-flex-grid-column binding="Flag" />
- <c1-flex-grid-column binding="Item">
- <c1-data-map display-member-path="Name" selected-value-path="Code">
- <c1-items-source source-collection="@MasterService.QueryMasterList()"></c1-items-source>
- </c1-data-map>
- </c1-flex-grid-column>
- <c1-flex-grid-column binding="DateTime1" format="yyyy-MM-dd" />
- <c1-flex-grid-column binding="DateTime2" format="yyyy-MM-dd HH:mm:ss" />
- </c1-flex-grid>
- <c1-pager owner="Grid" class="float-md-right" />
复制代码
|