Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
350 views
in Technique[技术] by (71.8m points)

javascript - Angular Slickgrid:单击单元格时刷新数据集和分页(Angular Slickgrid: Refresh the Dataset along with Pagination on cell click)

The Image gif include below show my angular-slickgrid on initialization where my data is coming using OData service through "Backend-api" in "gridOption" of angular-slickgrid, On first load everything work fine including pagination which shows 1 item as there is only one row on initialization but my problem is after click on particular row or cell the dataset get updated with new data based on the number of items it contains but not pagination, I want to refresh the dataset and pagination after cell or row click is there a way we can do it using Odata in angular-slickgrid or any other option.

(图像gif包括以下内容,显示了我在初始化时的angular-slickgrid,其中我的数据是通过angular-slickgrid的“ gridOption”中的“ Backend-api”使用OData服务传入的,第一次加载时一切正常,包括分页,其中显示了1个项目初始化时只有一行,但我的问题是在单击特定的行或单元格后,数据集将根据其包含的项目数(而非分页)使用新数据进行更新,我想刷新数据集并单击单元格或行后的分页我们可以在angular-slickgrid或其他任何选项中使用Odata做到这一点的一种方法。)


Slickgrid On Load Image

(加载图像上的Slickgrid)

  ask by Umair Khan translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...