DataGrid HttpClient

I used DataGrid with remote data by Web API, it works great. But I would like to pass Typed or Named HttpClients . How could I do this?

3 Replies 1 reply marked as answer

RS Renjith Singh Rajendran Syncfusion Team September 15, 2020 01:05 PM UTC

Hi Zuen, 

Greetings from Syncfusion support. 

Based on this scenario we suggest you to use the Custom way of binding data to Grid and use Named HttpClient. Please refer the below documentation for more details regarding the custom way of binding data to Grid. 

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran 



Marked as answer

ZE Zeun September 15, 2020 03:08 PM UTC

Thank you very much, but IMHO it would be easier if you could expose httpclient as a parameter of SfDataManager. Please take this as a suggestion, non criticism. In my specific case the only thing that I need is pass httpclient with different AuthorizationMessageHandler depending on the webapi endpoint.


Thank you again.


RS Renjith Singh Rajendran Syncfusion Team September 17, 2020 12:38 PM UTC

Hi Zeun, 

Thanks for your update. 

We have considered this as a usability feature improvement and logged an usability feature improvement task for the same “Add support to use Named/Typed HttpClient”. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts.   
   
You can now track the current status of this feature request here.   
   
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision and technological feasibility. It will be implemented in any of our upcoming releases.   

You can communicate with us regarding the open features any time using our above feedback report page. 
 
Regards, 
Renjith Singh Rajendran 


Loader.
Up arrow icon