0

In this example there's a dead leftmost column that I can't figure out how to suppress. Where in the code is this column created and how can I remove it?

http://labs.nereo.com/SlickGrid/examples/example-excel-compatible-spreadsheet.html

It's absent in the vanilla Slickgrid examples (e.g. http://mleibman.github.io/SlickGrid/examples/example1-simple.html ) but I don't see the difference. Any help appreciated!

1 Answer 1

1

It's the column numbers. You can remove it by removing this part from the columns array:

Change this:

var columns = [
    {
      id: "selector",
      name: "",
      field: "num",
      width: 30
    }
  ];

To this:

var columns = [];

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.