This is a migrated thread and some comments may be shown as answers.

Are ExportSettings properties exposed to client-side code?

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 02 Sep 2013, 12:50 PM
I would like to do something like the following in a JavaScript method, but the "ExportSettings" object does not appear to exist in the client-side object model.  Is there a way that I can assign these properties via JavaScript?

gridEd.ExportSettings.ExportOnlyData = true;
gridEd.ExportSettings.IgnorePaging = true;
gridEd.ExportSettings.FileName = "WorkOrderListExport";
gridEd.ExportSettings.OpenInNewWindow = true;

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Sep 2013, 01:29 PM
Hi,

I am afraid that the particular scenario cannot be achieved using client side code. Please check the following demo which uses the RadGrid's client-side api.
Grid - Client-Side API

Thanks,
Princy.



Tags
Grid
Asked by
Scott
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or