Theme-Logo
  • 5
    • Notifications
      New
    • Generic placeholder image
      John Doe

      Lorem ipsum dolor sit amet, consectetuer elit.

      30 minutes ago
    • Generic placeholder image
      Joseph William

      Lorem ipsum dolor sit amet, consectetuer elit.

      30 minutes ago
    • Generic placeholder image
      Sara Soudein

      Lorem ipsum dolor sit amet, consectetuer elit.

      30 minutes ago
  • 3
  • User-Profile-Image John Doe
    • Settings
    • Profile
    • My Messages
    • Lock Screen
    • Logout
Generic placeholder image
Josephin Doe
Generic placeholder image
Lary Doe
Generic placeholder image
Alice
Generic placeholder image
Alia
Generic placeholder image
Suzen
Josephin Doe
Generic placeholder image

I'm just looking around. Will you tell me something about yourself?

8:20 a.m.

I'm just looking around. Will you tell me something about yourself?

8:20 a.m.

Generic placeholder image
Navigation
  • Dashboard
    • Default
    • CRM
    • Analytics NEW
  • Layouts HOT
    • Vertical
      • Static Layout
      • Header Fixed
      • Compact
      • Sidebar Fixed
    • Horizontal
      • Static Layout
      • Fixed Layout
      • Static With Icon
      • Fixed With Icon
    • Bottom Menu
    • Box Layout
    • RTL
    • Navigation Light
  • Widgets 100+
    • Statistic
    • Data
    • Chart Widget
UI Elements
  • Components
    • Basic
      • Alert
      • Breadcrumbs
      • Button
      • Box-Shadow
      • Accordion
      • Generic Class
      • Tabs
      • Color
      • Label Badge
      • Progress Bar
      • Pre-Loader
      • List
      • Tooltip & Popover
      • Typography
      • Other
    • Advance
      • Draggable
      • Grid Stack
      • Light Box
      • Modal
      • Notifications
      • PNotify
      • Rating
      • Slider
      • Syntax Highlighter
      • Nestable
      • Toolbar
      • X-Editable
    • Extra
      • Session Timeout
      • Session Idle Timeout
    • Animations
    • Sticky Notes
    • Icons
Forms
  • Forms NEW
    • Form Components
    • Form Add-On
    • Form Advance
    • Form Validation
    • Form Picker
    • Form Select
    • Form Masking
    • Form Wizard
Tables
  • Tables
    • Bootstrap Table
      • Basic Table
      • Sizing Table
      • Border Table
      • Styling Table
    • Data Table
      • Basic
      • Advance
      • Styling
      • API
      • Ajax
      • Server Side
      • Plug-In
      • Data Sources
    • DT Extensions
      • AutoFill
      • Basic Buttons
      • HTML5 Export
      • Col Reorder
      • Fixed Columns
      • Fixed Header
      • Key Table
      • Responsive
      • Row Reorder
      • Scroller
      • Select Table
    • Handson Table
      • Appearance
      • Data Operation
      • Rows & Columns
      • Columns Only
      • Cell Features
      • Cell Types
      • Integrations
      • Rows Only
      • Utilities
    • Editable Table
Charts & Maps
  • Charts NEW
    • Echarts
    • ChartJs
    • List Chart
    • Sparkline Chart
  • Maps
    • Google Maps
    • Vector Maps
    • Google Map Search API
    • Location
Pages
  • Authentication
    • Login
      • With BG Image
      • With Header/Footer
    • Registration
      • With BG Image
      • With Header/Footer
    • Forgot Password
    • Lock Screen
  • User
    • User Profile
    • User Card
    • Timeline
  • Utility
    • Error
    • Coming Soon
    • Sample Page
Business
  • E-Commerce HOT
    • Product
    • Product List
    • Product Edit
    • Product Detail
    • Product Cart
    • Credit Card Form
  • Invoice
    • Invoice
    • Invoice Summary
    • Invoice List
  • Job Portal
    • Job Details
    • Job Find
    • Job Panel View
Applications
  • Chat
  • Email
    • Compose
    • Inbox
    • Read Mail
    • Templates
      • Welcome
      • Reset Password
      • Newsletter
      • App Launch
      • Activation
  • Task
    • Task List
    • Task Board
    • Task Detail
    • Issue List
  • To-Do & Notes
    • To-Do
    • Notes
  • Social
    • Wall
    • Messages
  • Calendar
    • Full Calendar
Extensions
  • Gallery
    • Gallery Grid
    • Masonry Gallery
    • Advance Gallery
  • Search
    • Simple Search
  • WYSIWYG Editor
  • Image Cropper
  • File Upload
  • Change Logs
Other
  • Menu Levels
    • Menu Level 2.1
    • Menu Level 2.2
      • Menu Level 3.1
    • Menu Level 2.3
  • Disabled Menu
  • Landing Page
Support
  • Documentation
  • Submit Issue

HandsonTable Utilities

context menu, custom buttons & comments
  • Handson Table
  • Utilities
Context Menu With Default Options
To run the basic configuration of the Context Menu, just set the contextMenu option to true. From version 0.11, context menu also works for row and column headers. When the context menu for the row header is opened, the column options are disabled. Likewise, when the context menu for the column header is opened, the row options are disabled
Context Menu With Fully Custom Configuration
For greatest configurability, you use contextMenu option as a configuration object as described in jQuery contextMenu documentation. This example shows how to set custom text, how to disable "Remove row" and "Insert row above" for the first row and how to add your own option.
Copy-Paste Configuration
Copy and Paste feature are available in Handson table by default, but only as key shortcuts (Ctrl (Cmd) + C and Ctrl (Cmd) + V respectively). This plugin makes them available also as a clickable options in the context menu. Unfortunately, due to the browser's security restrictions, Handson table is forced to use a third-party flash-based library. We chose to use ZeroClipboard - it adds a small invisible flash clip to your website, allowing the user to click on it, and thus save data to the clipboard.
Custom Buttons
The alter method can be used if you want to insert or remove rows and columns using external buttons. The below example uses the a custom made handson table.removeRow.js plugin for that matter. Move your mouse over a row to see it. You can programmatically select a cell using the selectCell method. The below button implements it.
Comments
With option comments: true, you can add and remove cell comments through the context menu. To initialize Handson table with predefined comments, provide comment cell property: {row: 1, col: 1, comment: "Test comment"}