Skip to content

Instantly share code, notes, and snippets.

View dennisseah's full-sized avatar

Dennis Seah dennisseah

  • Microsoft
  • Sunnyvale
View GitHub Profile
@dennisseah
dennisseah / gist:a1c84247b1119557c319
Last active November 3, 2022 05:49
SAPUI5: Double Tap on items in sap.m.List
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script id="sap-ui-bootstrap"
type="text/javascript"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal"
@dennisseah
dennisseah / gist:49d7d3e4e8370b735c70
Last active October 18, 2016 07:34
SAPUI5: Delete items in sap.m.Table
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<script src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal"
type="text/javascript">
@dennisseah
dennisseah / gist:2507dbe2ab16509d0679
Last active June 24, 2020 15:25
SAPUI5: Drag and Drop items between two sap.m.List
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script id="sap-ui-bootstrap"
type="text/javascript"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal"
@dennisseah
dennisseah / gist:173eed844580dbcaac0f
Last active September 5, 2022 16:49
SAPUI5: Fire cell press event in sap.m.Table
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<script src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal"
type="text/javascript">
@dennisseah
dennisseah / gist:a87622b8ba91d0f17c2b
Last active April 26, 2020 17:05
SAPUI5: fire event when scrolling on sap.m.ScrollContainer
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script id="sap-ui-bootstrap"
type="text/javascript"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal"
src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js">
@dennisseah
dennisseah / gist:63289b77d6d7d902b3de
Last active August 28, 2018 02:44
SAPUI5: Set background color for column in sap.ui.table.Table
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script id="sap-ui-bootstrap"
type="text/javascript"
data-sap-ui-libs="sap.ui.table,sap.ui.commons"
data-sap-ui-theme="sap_bluecrystal"
@dennisseah
dennisseah / gist:c945e92acf379b053b3f
Last active August 29, 2015 14:05
SAPUI5: Cell dependency in sap.ui.table.Table
<!DOCTYPE HTML>
<html>
<head>
<!-- Column2 is editable only if Column 1 is an integer
-->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script id="sap-ui-bootstrap"
type="text/javascript"
@dennisseah
dennisseah / gist:9e231fd49893a46e5c70
Created August 22, 2014 19:14
SAPUI5: fire event when column is pressed in sap.m.Table
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script id="sap-ui-bootstrap"
type="text/javascript"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal"
@dennisseah
dennisseah / gist:db68de85266df84ce463
Created August 22, 2014 19:24
SAPUI5: Add Icon to title in sap.ui.commons.AccordionSection
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<style>
.iphone:before {
content: '\e092 ';
font-family: 'SAP-icons';
font-size: 11px;
@dennisseah
dennisseah / gist:8dbb7a23ef9c9c264249
Last active July 12, 2017 10:12
SAPUI5: Organizational Chart with d3.js
<html>
<head>
<script src="http://d3js.org/d3.v3.min.js"></script>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<style>
.dennisseah-orgchart .node {
cursor: pointer;
}