SlideShare a Scribd company logo
Developing Interactive Tables and
Charts in Visualforce
Using JavaScript Remoting
Matthew Rumschlag, Nexeo Solutions, LLC., Lead SFDC Developer
@MJRForce
Safe harbor
Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results
expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be
deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other
financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any
statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our
operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any
litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our
relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our
service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to
larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is
included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent
fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor
Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently
available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions
based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these
forward-looking statements.
Matthew Rumschlag
Lead Salesforce Developer
@MJRForce
All about Nexeo Solutions, LLC.
We are focused on the business of globally connecting
producers and customers of chemicals, plastics,
composites and environmental services.
▪ A Salesforce.com customer since 2006
▪ Over 2000 users, including Salesforce and Platform users
▪ Integrated with ERP System (SAP) via WebMethods
▪ Pricing application developed in-house using some of these techniques
<Apex:Pageblocktable> and <Apex:DataTable>
Missing Features
Single Column Sorting
Multi Column Sorting
Filtering
Pagination
Export to Excel or PDF
Show >1000 Records
Row Selection
Fixed Header
Fixed Columns
Show / Hide Columns
In Line Editing
Introducing jQuery + DataTables.net
Available Features
Single Column Sorting
Multi Column Sorting
Filtering
Pagination
Export to Excel or PDF
Show >1000 Records
Row Selection
Fixed Header
Fixed Columns
Show / Hide Columns
In Line Editing
Controller
Standard PageBlockTable
HTML for Jquery DataTable
JavaScript for Jquery DataTable
The Final Result
Complex Charts using JavaScript Remoting
Org Chart

Steps to using JavaScript Libraries within
Salesforce:
•Study the API Documentation for the Library
•Build an Apex Class(es) based on JSON structures
provided in the documentation
•Wherever the library expects a JSON response, use
JavaScript Remoting to return a list of your custom
class.
Build an Apex Classes based on API Documentation
Build an Apex Classes based on API Documentation
JavaScript Remoting Class
JavaScript Remoting Visualforce Page
Live Demo
Org Chart
Links
Tables Example:
https://github.com/mjrforce/DF13_JQuery_Tables
Org Chart Example:
https://github.com/mjrforce/DF13_JIT_Org_Chart
Jquery
http://jquery.com/
DataTables.net
http://datatables.net/
Matthew Rumschlag
Lead Salesforce Developer
@MJRForce
Developing Interactive Tables and Charts in Visualforce

More Related Content

PPTX
Drug Interactions of Glycoprotein IIB/IIIA inhibitors
PDF
Making Your Apex and Visualforce Reusable
PDF
The Visual Delta Force: Dynamic Visualforce Components
PDF
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
PDF
Elevate workshop track1
PPTX
Detroit ELEVATE Track 1
PPTX
Salesforce Labs - Hidden Gems on the AppExchange
Drug Interactions of Glycoprotein IIB/IIIA inhibitors
Making Your Apex and Visualforce Reusable
The Visual Delta Force: Dynamic Visualforce Components
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Elevate workshop track1
Detroit ELEVATE Track 1
Salesforce Labs - Hidden Gems on the AppExchange

Similar to Developing Interactive Tables and Charts in Visualforce (20)

PPTX
Unleash the Power of Apex Realtime Debugger
PPTX
Lighting Strikes: Embrace the change in Your Org by Gaurav Kheterpal
PDF
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
PDF
Get Started with Lightning Web Components Open Source
PDF
Lightning Components - Advanced Features
PDF
Spice up Your Internal Portal with Visualforce and Twitter Bootstrap
PPTX
The Power of One by Steve Molis
PPTX
The Power of One by Steve Molis
PDF
Einstein Analytics for Developers
PDF
Winter '18 開発者向け新機能
PPTX
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
PDF
TrailheaDX Global Gathering London 2018
PDF
Become a Superstar Admin with Custom Metadata Types
PPTX
Gaing New Business Intelligence with Salesforce IQ (Salesforce World Tour NYC)
PDF
再考PaaS 〜 Heroku最新情報で考える、2017年のPaaS選択基準 〜
PDF
アプリケーション開発をモダンに変える Salesforce DX
PDF
Five Developer Tips Every Admin Needs To Know
PDF
Heroku CIを触ってみる
PDF
Introduction to Force.com
PPTX
Build lightning components with salesforce dx
Unleash the Power of Apex Realtime Debugger
Lighting Strikes: Embrace the change in Your Org by Gaurav Kheterpal
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
Get Started with Lightning Web Components Open Source
Lightning Components - Advanced Features
Spice up Your Internal Portal with Visualforce and Twitter Bootstrap
The Power of One by Steve Molis
The Power of One by Steve Molis
Einstein Analytics for Developers
Winter '18 開発者向け新機能
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
TrailheaDX Global Gathering London 2018
Become a Superstar Admin with Custom Metadata Types
Gaing New Business Intelligence with Salesforce IQ (Salesforce World Tour NYC)
再考PaaS 〜 Heroku最新情報で考える、2017年のPaaS選択基準 〜
アプリケーション開発をモダンに変える Salesforce DX
Five Developer Tips Every Admin Needs To Know
Heroku CIを触ってみる
Introduction to Force.com
Build lightning components with salesforce dx
Ad

More from Salesforce Developers (20)

PDF
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
PDF
Maximizing Salesforce Lightning Experience and Lightning Component Performance
PDF
Local development with Open Source Base Components
PPTX
TrailheaDX India : Developer Highlights
PDF
Why developers shouldn’t miss TrailheaDX India
PPTX
CodeLive: Build Lightning Web Components faster with Local Development
PPTX
CodeLive: Converting Aura Components to Lightning Web Components
PPTX
Enterprise-grade UI with open source Lightning Web Components
PPTX
TrailheaDX and Summer '19: Developer Highlights
PDF
Live coding with LWC
PDF
Lightning web components - Episode 4 : Security and Testing
PDF
LWC Episode 3- Component Communication and Aura Interoperability
PDF
Lightning web components episode 2- work with salesforce data
PDF
Lightning web components - Episode 1 - An Introduction
PDF
Migrating CPQ to Advanced Calculator and JSQCP
PDF
Scale with Large Data Volumes and Big Objects in Salesforce
PDF
Replicate Salesforce Data in Real Time with Change Data Capture
PDF
Modern Development with Salesforce DX
PDF
Get Into Lightning Flow Development
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Local development with Open Source Base Components
TrailheaDX India : Developer Highlights
Why developers shouldn’t miss TrailheaDX India
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Converting Aura Components to Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
TrailheaDX and Summer '19: Developer Highlights
Live coding with LWC
Lightning web components - Episode 4 : Security and Testing
LWC Episode 3- Component Communication and Aura Interoperability
Lightning web components episode 2- work with salesforce data
Lightning web components - Episode 1 - An Introduction
Migrating CPQ to Advanced Calculator and JSQCP
Scale with Large Data Volumes and Big Objects in Salesforce
Replicate Salesforce Data in Real Time with Change Data Capture
Modern Development with Salesforce DX
Get Into Lightning Flow Development
Integrate CMS Content Into Lightning Communities with CMS Connect
Ad

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
cuic standard and advanced reporting.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPT
Teaching material agriculture food technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation theory and applications.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
Per capita expenditure prediction using model stacking based on satellite ima...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
cuic standard and advanced reporting.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
Big Data Technologies - Introduction.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Teaching material agriculture food technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation theory and applications.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Digital-Transformation-Roadmap-for-Companies.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
MYSQL Presentation for SQL database connectivity
Understanding_Digital_Forensics_Presentation.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf

Developing Interactive Tables and Charts in Visualforce

  • 1. Developing Interactive Tables and Charts in Visualforce Using JavaScript Remoting Matthew Rumschlag, Nexeo Solutions, LLC., Lead SFDC Developer @MJRForce
  • 2. Safe harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3. Matthew Rumschlag Lead Salesforce Developer @MJRForce
  • 4. All about Nexeo Solutions, LLC. We are focused on the business of globally connecting producers and customers of chemicals, plastics, composites and environmental services. ▪ A Salesforce.com customer since 2006 ▪ Over 2000 users, including Salesforce and Platform users ▪ Integrated with ERP System (SAP) via WebMethods ▪ Pricing application developed in-house using some of these techniques
  • 5. <Apex:Pageblocktable> and <Apex:DataTable> Missing Features Single Column Sorting Multi Column Sorting Filtering Pagination Export to Excel or PDF Show >1000 Records Row Selection Fixed Header Fixed Columns Show / Hide Columns In Line Editing
  • 6. Introducing jQuery + DataTables.net Available Features Single Column Sorting Multi Column Sorting Filtering Pagination Export to Excel or PDF Show >1000 Records Row Selection Fixed Header Fixed Columns Show / Hide Columns In Line Editing
  • 9. HTML for Jquery DataTable
  • 12. Complex Charts using JavaScript Remoting Org Chart Steps to using JavaScript Libraries within Salesforce: •Study the API Documentation for the Library •Build an Apex Class(es) based on JSON structures provided in the documentation •Wherever the library expects a JSON response, use JavaScript Remoting to return a list of your custom class.
  • 13. Build an Apex Classes based on API Documentation
  • 14. Build an Apex Classes based on API Documentation
  • 18. Links Tables Example: https://github.com/mjrforce/DF13_JQuery_Tables Org Chart Example: https://github.com/mjrforce/DF13_JIT_Org_Chart Jquery http://jquery.com/ DataTables.net http://datatables.net/
  • 19. Matthew Rumschlag Lead Salesforce Developer @MJRForce