Notes to Handsontable #504

Closed
Arockia opened this Issue Mar 19, 2013 · 3 comments

Projects

None yet

3 participants

@Arockia

Hi

I need to add Notes to each cell.it should be Addable ,Editable and Delectable in the Handsontable.Can anyone help me out ?

Thanks in Advance

@bollwyvl

I'll probably be working on this soon.

One of my goals will be to maintain copy/paste-ability with spreadsheet applications, which will present a significant challenge given the current textarea approach... compatibility between, say, excel and google docs is not great in this regard, so that might be a bit hard.

I haven't worked much with "freeform" tables (i.e. those that allow for adding new columns with the context menu), but for an object-based setup, I was thinking something along these lines:

var data = [
  {foo: 1, bar: "some note here"}
];

$(element).handsontable({
  data: data,
  columns: [
    {data: "foo", note: "bar"}
  ]
});

As a first step, this could be added with some custom Renderer\Editor subclasses, so that one would specify type: NotableCell... a fair amount of magic happens with type, so it might end up losing some of the built-in flexibility in this regard.

I might try starting out with bootstrap popover, but would eventually like to mimic the repositionable behavior of the desktop apps... however storing this location would be yet another field to have to specify on the data.

For my purposes, I'll probably need the note options to appear in the context menu as well as be accessible from buttons.

I am not sure if this will meet your needs, but please try to describe what your data might look like, and what you would expect from the API.

Cheers!

@Arockia

Hi

Thanks for your valuable time with me.

My application data would be like this ...

A B C D

12 14 20 53

i should have ability to add notes to value ("12") in the column of "A" with small icon of the td and it should be visible if notes added.It is like adding notes for cell 's value in the Excel.

@kubak10

Hello,
It's now available in version 0.11.0-beta2.
You can try it here: http://handsontable.com/demo/comments.html

@kubak10 kubak10 closed this Jul 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment