Skip to content

Instantly share code, notes, and snippets.

View ikiw's full-sized avatar
💁‍♂️

Sakthi ikiw

💁‍♂️
View GitHub Profile
@ikiw
ikiw / LoadComponent.js
Created June 22, 2016 17:43
Load sapui5 explored component
<!DOCTYPE html>
<html>
<head>
<script src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js" id="sap-ui-bootstrap" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-libs="sap.m" data-sap-ui-xx-bindingSyntax="complex"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script>
jQuery.sap.registerModulePath("sap.m.sample.LinkSubtle", "https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/sample/LinkSubtle/");
@ikiw
ikiw / customCalendar.js
Created July 22, 2015 13:55
custom days in ui5 calendar
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Calendar - sap.me</title>
<script src="/sapui5/resources/sap-ui-core.js" type="text/javascript"
id="sap-ui-bootstrap" data-sap-ui-libs="sap.m, sap.me"
data-sap-ui-theme="sap_bluecrystal"
@ikiw
ikiw / vizFrame.js
Created July 22, 2015 13:53
XML view vizFrame example
<!DOCTYPE html>
<html><head>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>Mobile App with XML View with JSON Data</title>
<script id='sap-ui-bootstrap' type='text/javascript'
src='/sapui5-internal/resources/sap-ui-core.js'
data-sap-ui-theme='sap_bluecrystal'
@ikiw
ikiw / connectToView.js
Created July 22, 2015 13:50
ui5 connect to view function
<!DOCTYPE html>
<html><head>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>test</title>
<script id='sap-ui-bootstrap' type='text/javascript'
src='/sapui5/resources/sap-ui-core.js'
data-sap-ui-theme='sap_bluecrystal'
data-sap-ui-libs='sap.m'></script>
@ikiw
ikiw / customizeChartD3.js
Created July 22, 2015 13:49
Ui5 customize chart using D3
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>Bubble Chart Example</title>
<script src="/sapui5/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.viz"
data-sap-ui-theme="sap_bluecrystal">
@ikiw
ikiw / chartSelectdataInTable.js
Created July 22, 2015 13:47
UI5 Chart select data in table
<!DOCTYPE html>
<html><head>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>test</title>
<script id='sap-ui-bootstrap' type='text/javascript'
src='/sapui5/resources/sap-ui-core.js'
data-sap-ui-theme='sap_goldreflection'
data-sap-ui-libs='sap.ui.commons,sap.ui.ux3,sap.viz,sap.ui.table'></script>
@ikiw
ikiw / listnavigation.js
Created July 22, 2015 13:46
Mobile List Navigation
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>Mobile App with data-bound List</title>
<script src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
@ikiw
ikiw / googleMapNotepad.js
Created July 22, 2015 13:45
Google map Custom control
<!DOCTYPE html>
<html><head>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<title>GoogleMap</title>
<script id='sap-ui-bootstrap' type='text/javascript'
src='/sapui5/resources/sap-ui-core.js'
data-sap-ui-theme='sap_goldreflection'
data-sap-ui-libs='sap.ui.commons,sap.ui.ux3'></script>
@ikiw
ikiw / chart2Image.js
Created July 22, 2015 13:44
ui5 chart to image
<!DOCTYPE html>
<html><head>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<title>test</title>
<script id='sap-ui-bootstrap' type='text/javascript'
src='/sapui5/resources/sap-ui-core.js'
data-sap-ui-theme='sap_bluecrystal'
data-sap-ui-libs='sap.m,sap.viz'></script>
@ikiw
ikiw / pieCharLabel.js
Created July 22, 2015 13:43
Pie Chart Label inside plot area
<!DOCTYPE html>
<html><head>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<title>test</title>
<script id='sap-ui-bootstrap' type='text/javascript'
src='/sapui5/resources/sap-ui-core.js'
data-sap-ui-theme='sap_bluecrystal'
data-sap-ui-libs='sap.viz'></script>
<!-- add 'sap.ui.table' and/or other libraries if required -->