How to populate sapui5 smart table with data from a CSV file after importing? - sapui5

I am new to SAPUI5 and so am struggling to use sap.ui.comp.smarttable.SmartTable of sapUI5. I saw various examples but all of them make use of oData service which I don't need to use in my case.
Basically what I need to do is, import CSV file and show its data in smartTable. I am successful in showing the data in a simple table in SAP but unable to figure out how to use smarttable without any oData service in SAPUI5.
I am using XML view for view part.
Please help.

Not. It is not possible. As mentioned here in documentation,
The SmartTable control creates a table based on OData metadata and the configuration specified. The entitySet attribute must be specified to use the control

Related

Realtime datatable with asp.net core web app , EF core and SignalR

I want to retrieve data from Sqlserver database with EntityFramework core and do crud operations and show data table to client without refreshing the page (Realtime) , is there any source or example in this case ?
Not sure there is a definitive source for this, but it's not that hard to build yourself.
It should be relatively straight forward. In general you'd need
A model for the grid that defines the properties to show and edit, and also which row is selected.
An HTML Helper to change the rows from read-only to editable
A view to display the table.
An [edit] action link for each row enables you to select a row by ID for editing, and after clicking it, reloads the page and then the view can respond accordingly to change the type of the row from read-only to editable.
You could use Blazor or maybe Ajax to change a row from read-only to editable without refreshing the page, but I'm not sure if you need to meet certain requirements that discard using either of them.
John Ciliberti has written a recipe for a book, that works just like I described, find it on his Github page to get some ideas of what's involve.
If you need a more out-of-the-box solution, perhaps consider wiring up DataTables.js.

JIRA copy custom fields in Azure Data factory

I am aware that JIRA dataset is in beta stage right now in Data factory. But still is there any way to pull the custom fields data?
Right now when i am copying JIRA issues data it is giving me only the standard fields present in any of the Issue.
I want custom fields too. Any way?
So through hit and trial, i got to know that tables that starts with 'Extras- ' are the ones which has custom fields and that too masked. Again through hit and trial I figured which field value I wanted to extract.
You can try the advanced tab.
For linked service:
advanced tab for linked service
For dataset:
advanced tab for dataset

dojox.grid.DataGrid is not displaying properly

I am trying to use dojox.grid.DataGrid and dojox.data.JsonRestStore.
Somehow the data grid is not displaying properly.
What surprised me is clicking the Run button at the dojo document side :
http://dojotoolkit.org/reference-guide/1.9/dojox/grid/DataGrid.html
all these examples are displaying data grid properly.
Does anyone know what's going on the dojo grid?
All the examples given in dojo datagrid are working because they are providing local data. If you want to use it in your project then u have to implement a web service that provide remote data in json format as mention in documentation regarding jsonrest store.
Click Here

About using the Microsoft Chart library and a general clarification sought in C#

I am using the Microsoft Chart.
I have a UI to get the value for each property of this object. Then i store all these values in the DB.
Now that I have the properties from the DB I have to bind them to the corresponding properties of the Chart object.
Which is the most efficient and right way. Shall i do it using reflection or other ways.
I came to know that this class has a method that can export all the settings for the chart, including the values in an XML format. What if i can try to create an import data and properties method.
suggest the best way. I am using ASP.NET MVC 2 with C# and VS2010.
edit
I tried to get the xml from the Chart Object calling SaveAsXml() and then used that to load it as a template and tried back to get the chart object. that does not event work.
Better to Use jQuery Charts for better UI control and to use MS Charts for hiding data from the user.

Drill down Fusioncharts PHP class

Can anyone tell me how do i create drill down fusioncharts using PHP class wherein all the data is present in one file and i can link the chart to the another chart present in that same file?
You actually need to create LinkedCharts (as per FusionCharts coined it). PHPClass does not allow you to create the data for the LinkedCharts. You would need to create the data using
your own PHP code and the pass the data to the chart.
Also, to change chart type, you would need to add JavaScript LinkedChart configuration.