Questions tagged [slickgrid]

SlickGrid is a specialized JavaScript grid/spreadsheet component optimized for high performance, even with many thousands of rows of underlying data.

SlickGrid utilizes virtual rendering to enable you to easily work with hundreds of thousands of items without any drop in performance. This is achieved through virtual rendering where only what’s visible on the screen plus a small buffer is rendered. As the user scrolls, DOM nodes are continuously being created and removed. These operations are highly tuned to provide optimal performance under all browsers. The grid also adapts to the direction and speed of scroll to minimize the number of rows that need to be swapped out and to dynamically switch between synchronous and asynchronous rendering.

It is an advanced component and is a bit more difficult to learn and configure, but is correspondingly extremely flexible.

Some highlights:

  • Adaptive virtual scrolling (handle hundreds of thousands of rows with extreme responsiveness)
  • Extremely fast rendering speed
  • Supports jQuery UI Themes
  • Background post-rendering for richer cells
  • Configurable & customizable
  • Full keyboard navigation
  • Column resize/reorder/show/hide
  • Column autosizing & force-fit
  • Pluggable cell formatters & editors
  • Support for editing and creating new rows.
  • Grouping, filtering, custom aggregators, and more!
  • Advanced detached & multi-field editors with undo/redo support.
  • “GlobalEditorLock” to manage concurrent edits in cases where multiple Views on a page can edit the same data.

Useful links

1268 questions
3
votes
5 answers

Can slickgrid page and display json

We want to load several thousand records to the client when the page is requested and have the first 25 records displayed. The user should then be able to page through the records or resort the list by column or filter by data in various columns.…
lloydphillips
  • 2,775
  • 2
  • 33
  • 58
3
votes
1 answer

resizeCanvas doesn't work when slick grid is collapsed

I have a accordion which collapse a slick grid. I am trying to resize my slick grid when I make the page smaller. Everything is working when the grid is opened but if the grid is collapsed and when i change the size of the page then click the…
Nakres
  • 1,212
  • 11
  • 27
3
votes
1 answer

Not able to use select dropdown plugin in slickgrid

I have a requirement to add a dropdown in header in slickgrid. Normal select dropdown works fine. I need to use a dropdown plugin to give it proper look and feel. Whenever i do that, the dropdown part gets hidden within the header. Any help is…
3
votes
0 answers

How to build Infinite-scroll listbox using threepenny-gui

Hello Haskell and Threepenny-GUI community, I want to display a ListBox which has infinite scrolling support. I have a table in an SQLite database with 100k - 1000k rows. I want to display rows in a ListBox. I got help from this post…
3
votes
1 answer

SlickGrid - Handling DataView with grid.onAddNewRow

I am using SlickGrid to generate a data grid. The data is fetched by a jQuery AJAX call. With the advice from https://stackoverflow.com/a/11611477/2294855 I am able to handle the response data and set it to the DataView. But my problem arises when I…
Stiff Roy
  • 31
  • 4
3
votes
1 answer

Get single row using checkbox in SlickGrid?

I have a table with checkbox for each row and i want to get only current(last) selected row using Slickgrid and Javascript. I am aware of getSelectedRows function of Slickgrid, that returns an array of row indices corresponding to the currently…
Diwakar Singh
  • 684
  • 1
  • 5
  • 19
3
votes
2 answers

Slickgrid inside jquery accordion columns not displaying properly

I am using slickgrid inside a jquery accordion and whenever the page refreshes and the accordion is expanded the columns inside the grid are all out of order and destroyed. I tried using grid.resizeCanvas(); inside my accordion to no avail.…
Leonardo Wildt
  • 2,529
  • 5
  • 27
  • 56
3
votes
1 answer

Adding a custom column property in SlickGrid

I want to add a custom column property to some of my columns in SlickGrid. I have a custom editor that uses regex to validate the input. I would like to add a regex statement property to my columns so that I can use the same editor for each of them…
3
votes
1 answer

Slickgrid With CheckboxSelectColumn: Hide Checkbox in Some Rows

I have a grid with the plugin Slick.CheckboxSelectColumn. Is it possible, without Jquery, to hide checkboxes in some rows? I guess it's possible using Formatter. Here is the var with the slickgrid checkbox plugin: var checkboxSelector = new…
user959
  • 31
  • 1
  • 3
3
votes
1 answer

get wrong instance with binding to onSelectedRowsChanged for Multiple SlickGrid

I got two slickGrids in one object: instances: { registered: { selector: '##one', slickGrid: null }, registeredPending: { selector: '##two', slickGrid: null } } Both of them are filled with data gotten from an AJAX request…
Jacob van Lingen
  • 8,989
  • 7
  • 48
  • 78
3
votes
1 answer

SlickGrid make cell editable when tabing to it

Ok, out the box slickGrid requires you to "double-click" to edit a cell(annoying) I have gotten around that by modifying the main js file and adding var cell = getCellFromEvent(e); if (options.editable) { gotoCell(cell.row, cell.cell, true); …
Doc Holiday
  • 9,928
  • 32
  • 98
  • 151
3
votes
1 answer

JSON deserialization throws circular reference ONLY in live build

I have a strange issue that I can't wrap my head around. I am trying to create an "export to csv" function for my MVC4 application where the relevant JSON is passed via an ajax call to my ActionResult. The ActionResult deserializes the stringify'd…
Mike H.
  • 1,731
  • 9
  • 31
3
votes
1 answer

How to get the correct row id, in a onActiveCellChanged event, from a filtered Slickgrid

I'm using the latest SlickGrid, with dataView. I subscribe to the onActiveCellChanged event to react to a user selecting a row, and get the cell contents of the first column with: grid.onActiveCellChanged.subscribe(function(e, args) { var cell =…
Dave
  • 1,696
  • 4
  • 23
  • 47
3
votes
1 answer

SlickGrid filter not working

I am fairly new to SlickGrid. I am trying to make SlickGrid filter work but no luck. I am following the example (http://mleibman.github.io/SlickGrid/examples/example4-model.html). Below is my source code. $(document).ready(function() { var…
nav
  • 148
  • 2
  • 5
  • 13
3
votes
1 answer

Custom header cell rendering in Slickgrid

I'd like to render the header cells of Slickgrid myself and the only way how i can do this at the moment is via the onHeaderCellRendered callback. The problem here is, that slickgrid (as the name of the callback suggests) has already finished…
Chris
  • 7,675
  • 8
  • 51
  • 101