Quantcast
Viewing all articles
Browse latest Browse all 4841

Adding applet events to i5Grids and i5Charts

Hi Experts,

 

I have been trying to add a RowSelection event to a UI5 grid and am unable to.

 

I am not using MVC but adding charts and grids in the HTML pages in place of applets.

 

I have seen through the discussion in thread Re: How to define SAP UI5 Event Handlers while not using MVC Pattern?

 

But I am unable to find the right property to use to add these events.

 

I have tried to find the property in the UI5 libraries but I guess this is of no avail as the chart I am using (com.sap.xmii.grid.init.i5Grid) is MII specific.

 

I couldnot find any mention of properties in MII help.

 

I have also tried to add these in addProps as

 

var addProps = '{'+

    '"QueryTemplate":"<path to template>",'+

    '"DisplayTemplate":"<pathe to template>",'+

    '"RowSelection ":"<function>",'+

    '"Content-Type":"image/png"'+

'}';

 

Please advise.

 

Maaz


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>