Hello.
I’m very beginner user of handsontabe and I’m trying to set value of corner cell and I have found only 4-years old theme (https://github.com/handsontable/handsontable/issues/1336), but I don’t want to use jQuery. Is there other ways to set text of corner cell?
Thanks.
Here is an example without jQuery http://jsfiddle.net/9hy2ftdw/ (CSS content
parameter)
@aleksandra_budnik, hello.
Thanks for example, it’s working, but look a little magic))
Yes, It does. We did not create an API for that so this is probably the best way to achieve it
And have no plans?
I think this.cells(-1,-1).setText('My corner text')
Could be not a worst variant (and not very difficult to implement [nooot sure))]).
Thanks in advice anyway.
Your company is very nice (and product, and support) and it will really no pity to buy license.
Unfortunately, I should to disturb you again(
In your fiddle we change the view of corner cell, it looks like merged in horizontal.
I tried to use other selectors: ::after, ::first-line, but that’s not, I want ::instead selector, but it’s missing))
Can you advice with this small question?
This element has its own dimensions and when we put something inside it changes the dimensions. If I make our text immune to the dimension settings by adding position: absolute
the extra height is gone.
Here is an updated demo http://jsfiddle.net/hbv1Lyog/ (I’ve also added a left
settings to fit the text better).
Aleksandra, thanks again.
You’re welcome @alikin.sergey