Hi Aleksandra,
After deleting rows,columns if i right-click on the portion where deleted rows,columns were present earlier, it gives me handsontable options like “insert row,insert column etc.” This is not an expected behavior for me because it will give wrong impression to the user. Here is the demo: https://jsfiddle.net/h03ycn2x/60/
You would need to check the indexes as they do not appear to be correct, but the rows were still visible as the table hasn’t been renderer - here’s a fix https://jsfiddle.net/efjrvp45/ (line 69
)
Actually the issue is drop down options appearing when i right click on the blank portion. This blank portion is the portion where rows/columns were present before being deleted. Here is the screenshot: https://app.box.com/s/a48as0e0stik0zzsfihaqkuzgg6my2qx
Oh I see. The line 16
- height
is the one to blame. If you delete it you won’t get tgis menu for a blank space under the table.
If i am removing height then my table show like this(https://prnt.sc/jzgm6h) and on inserting new rows it wont show scroll but will go out of div.
Hm… that doesn’t happen for the JSFiddle example. It may be related to the additional styling that you’re using.
Hi,
It is possible to apply context menu in “wtHider” div and disable out of this div.
I am sorry but no API allows that.
Hi,
“wordWrap: true” not working in my table.When my table cell content is too large then it won’t wrap up the content, instead it will keep on increasing the width of cell.
https://jsfiddle.net/h03ycn2x/65/
Hi @sdholariya
you can add colWidths: _number_
to set a fixed width o the column.
Hi,
It’s not working.Before save my text, it is like : https://prnt.sc/k0bk6s
and after it is hide like : https://prnt.sc/k0bkr4
I thought that this is an expected behavior. What else you would like to achieve? By default the column width will stay the same but the row will expand to show all the data.
Yes, my expected behavior is to have the row expand when data is more than the column width. But as you can see in the second screen shot, the data more than column width is cut, it is not expanding row wise.
Can you share a demo with your settings? Here http://jsfiddle.net/yqpmxusz/ is a simplest example and it moves the content to another row automatically.
If you see in the js fiddle you shared me and the one i am sharing here(http://jsfiddle.net/yqpmxusz/8/), the row will expand only until you are entering the data. When you click on another cell after you are finished entering the data. You will see the cell has data which fits the cell width. The remaining data is cut off. Row or say cell height is not expanded to show the full data.
Maybe it is a matter of a browser or system. This is how it works for Chrome 67 on Windows 10
Okay, and from which versions does this work? Can you send me the code of the demo you shared as GIF. I have tested this on chrome 48,chrome 67,mozilla firefox 60.0.2 and 62,chromium 66.0.3359.181, in ubuntu 16.04 32 bit and in ubuntu 14.04 64 bit. I am currently making an application with handsontable as a feature which should work on various versions of chrome,mozilla,chromium in ubuntu. Minimum version of chrome is 34.
If you see in the js fiddle you shared me and the one i am sharing here(http://jsfiddle.net/yqpmxusz/8/2),
I have used a demo from your latest comment. I’ll try in on a VM Ubuntu and Mac. Give me a moment.
I have just tried Ubuntu on virtual machine and Mac High Sierra. It looks the same like the Windows version from my GIF.
However, maybe I did not understood the case. If you type one long string (without spaces) it won’t cut in half and get transferred to another line. Can you confirm that you are testing a content with spaces?
Actually i did test this with spaces. The problem is i want to specify maximum column width instead of column width. For example: if column width is set as 100, then for column with small data like Sr.No. will look big and for column like Description,email-id the size will be small. Here is the screenshot: https://prnt.sc/k1jy79 . You can see that the gmail id is cut off and description column looks small.