Hello,
I have used the excel view demo to set up my project in this way, but the size of my column width’s mean that the data needs to scroll off the side of the screen. Is this possible in excel view, as at the moment the data just disappears off the edge of the screen?
And will it scroll when the user movers the cursor?
thanks
Lucy
Hi,
You can check this demo + its code and match with your config.
Demo: https://www.gridphp.com/demo/demos/promo/customers.php
Code: https://www.gridphp.com/demo/demos/promo/customers.phps
Yes, horizontal scroll moves with the cursor.
I have a solution.
“https://gist.github.com/lucyhutchinson2024-cyber/c3a82d78e3b8a13aea30a0d30edd4fac.js”
I modified your responsive scroll demo and rebuilt it.
I cannout see any major differences apart from maybe in the link for external libararies at the bottom.
But it works now
I have tried that, my users want it working like excel, however I have tried your example and all my column widths I set are ignored and it squeezes into the screen and doesn’t scroll?
Hi,
There was a typo in the code. In following property, shrinkToFit – The “T” should be in caps.
$grid[“shrinkToFit”] = false;
Rest code is working. Columns widths will work as expected after that.

