Skip to content

Instantly share code, notes, and snippets.

@dineshsm
dineshsm / PagingSortingController.cls
Created June 5, 2018 10:16 — forked from brianmfear/PagingSortingController.cls
Lightning Paging and Sorting Demo
global class PagingSortingController {
@AuraEnabled global static Account[] getAccounts() {
return [SELECT Name, Industry, AnnualRevenue FROM Account LIMIT 1000];
}
}
@dineshsm
dineshsm / DragDrop.app
Last active September 3, 2019 08:07 — forked from brianmfear/DragDrop.app
Drag and Drop in Lightning (simple demo)
<aura:application >
<aura:attribute name="values"
type="String[]"
access="private" />
<aura:attribute name="dragid"
type="Integer"
access="private" />
<aura:handler name="init"
value="{!this}"
action="{!c.doInit}" />