Skip to content

Instantly share code, notes, and snippets.

Brandon Donnelson branflake2267

Block or report user

Report or block branflake2267

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View canvas-test.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Canvas Scrolling</title>
<style>
</style>
</head>
@branflake2267
branflake2267 / app.js
Created Sep 28, 2019
Ext scrolling override - 500k
View app.js
Ext.Loader.setConfig({
enabled: true
});
Ext.Loader.setPath('Ext.ux', 'ext/ux');
Ext.require(['Ext.ux.ajax.JsonSimlet', 'Ext.ux.ajax.SimManager']);
@branflake2267
branflake2267 / WindowWithDateFieldIssue.java
Created Aug 5, 2019
GXT 4 datepicker zindex workaround
View WindowWithDateFieldIssue.java
import java.util.Date;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.dom.client.Style.BorderStyle;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.RootPanel;
import com.sencha.gxt.cell.core.client.form.DateCell;
import com.sencha.gxt.core.client.dom.XElement;
import com.sencha.gxt.core.client.util.Margins;
import com.sencha.gxt.widget.core.client.Window;
@branflake2267
branflake2267 / index.html
Last active Jun 5, 2019
Simple Sencha ExtAngular App, one file
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My ExtAngular app example</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
@branflake2267
branflake2267 / index.html
Created Apr 18, 2019
ExtAngular simple main.ts example
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MyApp</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
@branflake2267
branflake2267 / index.html
Created Apr 10, 2019
Using babel to compile Angular.
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Sandbox</title>
<script src="ext-angular-fiddle-bundle.js"></script>
</head>
@branflake2267
branflake2267 / ListViewSelectionModel.java
Created Apr 2, 2019
GXT 4.0.3 - ListViewSelectionModel selection fix, when you click on the scroll bar and use shift to persist the selection.
View ListViewSelectionModel.java
package com.sencha.gxt.widget.core.client;
import java.util.Collections;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.MouseDownEvent;
@branflake2267
branflake2267 / ComboColorChooserExample.java
Created Mar 20, 2019
GXT 4 custom combobox with color choices in a gallery format.
View ComboColorChooserExample.java
import java.util.Arrays;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.dom.client.DivElement;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Style.Display;
@branflake2267
branflake2267 / AppResources.java
Created Feb 27, 2019
GXT 4 custom split button using material icon.
View AppResources.java
package com.sencha.gxt.test.client.button_custommenu;
import com.google.gwt.core.shared.GWT;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.CssResource;
public interface AppResources extends ClientBundle {
public static AppResources INSTANCE = GWT.create(AppResources.class);
@branflake2267
branflake2267 / JsniExample.java
Created Feb 22, 2019
GXT 4.x JSNI example. Start the app later, by importing the script. Call into the application from Javascript.
View JsniExample.java
package com.sencha.gxt.test.client.jsni_callinto;
import com.google.gwt.core.client.EntryPoint;
import com.sencha.gxt.widget.core.client.info.Info;
public class JsniExample implements EntryPoint {
private native void myInfo() /*-{
function myInfo(value) {
// Call static java method
You can’t perform that action at this time.