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
4
votes
3 answers

Slickgrid column width should automatically get resized according to widest row content

In Slickgrid is there any way where the column width automatically get resized according to widest row content? In the sample example I can see the value of column as hard coded for the column field…
Anup Khandelwal
  • 365
  • 2
  • 6
  • 23
4
votes
1 answer

slickgrid: extra column right side IE only

Problem: In Internet Explorer 7 & 8 there is an extra column appearing on the far right side of the slickgrid. I have taken the most basic slickgrid example and placed it into my application. All of the scripts, css, etc. are there and working…
brian s
  • 385
  • 2
  • 10
4
votes
4 answers

How to add/remove rows using SlickGrid

How to write such functions and bind them to two buttons like "add row" and "remove row": The now working example code only support adding new row by editing on the blank bottom line.
lkahtz
  • 4,706
  • 8
  • 46
  • 72
4
votes
1 answer

Extra Column in SlickGrid

SlickGrid always maintains a little space in right most side of the header, even there is no vertical scroll bar. This extra space seems like a extra column. I don't want this extra space. I don't find any exposed API of SlickGrid component to…
4
votes
4 answers

Slickgrid basic example - In node/express, only first row of data loads but is not visible

I'm trying to run a barely modified version of SlickGrid's example1-simple.html. I'm on Mac OS X Lion, seeing the same behavior with Chrome/Safari/Firefox. Once I have all of the CSS/JS dependencies in place I can directly load the example HTML page…
Eli
  • 335
  • 3
  • 12
3
votes
1 answer

Make one column fill remaining space in SlickGrid without messing up explicit width columns

Some of my columns need explicit widths, while others should just fill up all available space. There is a forceFitColumns option, but it seems to ignore any explicit widths I've set. I want my explicit widths to be respected, and for implicit ones…
Nick Retallack
  • 18,986
  • 17
  • 92
  • 114
3
votes
2 answers

How do I create merged cells in SlickGrid?

Is it possible to create merged cells in SlickGrid? If not, then what other javascript grid solutions allow merged cells.
Di Wu
  • 118
  • 2
  • 5
3
votes
1 answer

jQuery.focus() making an unnecessary scroll

This is my problem. I'm creating a dialog box (jQuery.dialog) and inside it there is this grid (https://github.com/mleibman/SlickGrid). After loading data, I need to give the focus to the grid so the user can use the keyboard to view the data result…
zedmartins
  • 115
  • 1
  • 10
3
votes
2 answers

Is there a way to dynamically change the class of a single header in slick-grid 1.4.3?

I noticed that the latest version of slick-grid has a 'headerCssClass' attribute on the column, which would work great, except I am restricted to using slick-grid version 1.4.3. I am extending slick-grid so as to add multiple column sort…
JoughTheFun
  • 91
  • 1
  • 7
3
votes
3 answers

slickgrid + searching multiple column

how can i use slickGrid in my grails application for searching in multiple column at a time? https://github.com/mleibman/SlickGrid/tree/master/examples
sanghavi7
  • 758
  • 1
  • 15
  • 38
3
votes
2 answers

slickgrid Populating data using PHP and Mysql

I have a problem how can I use slick grid, it does not have a documentation on how to use it with PHP so I made mine. But I ran into a problem. How would I echo my MySql Query to look like this: $(function () { for (var i = 0; i < 500; i++) { var…
tomexsans
  • 4,454
  • 4
  • 33
  • 49
3
votes
1 answer

Trigger OnChangeCell Event

I am using a variation of SlickGrid's Example 7 that allows a value to be selected from a list upon double clicking a cell. However this method does not fire the onCellChange event and I am not catching all the changes to the data. Below is a…
user1214192
3
votes
4 answers

slickgrid validate column with regex

There is a simple sample with column validation: function requiredFieldValidator(value) { if (value == null || value == undefined || !value.length) { return {valid: false, msg: "This is a required field"}; } else { …
Iurii Dziuban
  • 1,091
  • 2
  • 17
  • 31
3
votes
1 answer

SlickGrid cannot delete added rows, but only existing ones. What am I doing wrong?

Here is my code for adding a row: grid.onAddNewRow.subscribe(function (e, args) { var item = args.item; id=id+1; item["id"] = "id_"+id; grid.invalidateRow(data.length); data.push(item); dataView.beginUpdate(); …
Iurii Dziuban
  • 1,091
  • 2
  • 17
  • 31
3
votes
4 answers

SlickGrid - Editable Grid with Controls Visible by default

The SlickGrid supports editors for a cell that can be configured to be displayed on click or double click. However I don't see an option where, the editor is VISIBLE by default for all cells without having to click/double click on the cell. Is it…
Y123
  • 915
  • 13
  • 30