Posts

Showing posts with the label sapui5

How to add click event for link type QuickViewGroupElement?

Image
Clash Royale CLAN TAG #URR8PPP How to add click event for link type QuickViewGroupElement? I have a QuickView popover like this: <core:FragmentDefinition id="table_popover"> <QuickView id="popover_quickView"> <QuickViewPage id="popover_quickViewPage"> <QuickViewGroup id="popover_quickViewGroup"> <QuickViewGroupElement id="nav_link" type="link" value="navTo somePage" /> </QuickViewGroup> </QuickViewPage> </QuickView> </core:FragmentDefinition> There is only target property for QuickViewGroupElement , no press/click event. I want to use CrossApplicationNavigation service in click event. target QuickViewGroupElement CrossApplicationNavigation I tried to use attachBrowserEvent : attachBrowserEvent var oLink = sap.ui.core.Fragment.byId("AssignedTablePopover", "nav_link"); oLink.attachBr...

SAPUI5 Fiori Smart Table and Other Controls in Same Page

Image
Clash Royale CLAN TAG #URR8PPP SAPUI5 Fiori Smart Table and Other Controls in Same Page I would like to know that, can I have a Smart Table (With Smart Filter Bar) along with other Fiori controls such as Planning Calendar, Grant Chart or Another Responsive Table within the same page. Since Page which contains a Smart Table must contain the table's oData service in the page default model , can we have custom UI codes & models for other controls . Sample Screen 1 Answer 1 I don't see why that could be a problem. I created a quick UI5 application with both a sap.ui.comp.smarttable.SmartTable and a sap.m.PlanningCalendar . Btw, I started off with the first Smart Table sample. Hope this helps. View <mvc:View xmlns:core="sap.ui.core" xmlns="sap.m" xmlns:smartFilterBar="sap.ui.comp.smartfilterbar" xmlns:smartTable="sap.ui.comp.smarttable" xmlns:mvc=...