Brain770 Posted March 10, 2021 Share Posted March 10, 2021 Is there a way to have a row automatically increase height when cursor leaves cell or live?? Quote Link to comment https://forums.phpfreaks.com/topic/312268-auto-incresase-row-height-when-cursor-leaves-cell/ Share on other sites More sharing options...
requinix Posted March 10, 2021 Share Posted March 10, 2021 You're asking in the PHP Coding Help forum so that suggests you're looking for a PHP solution to your problem. There isn't one. PHP cannot do it. But if you don't mind a CSS or potentially Javascript solution, yeah sure. Explain more about what you want from this increased height stuff. Quote Link to comment https://forums.phpfreaks.com/topic/312268-auto-incresase-row-height-when-cursor-leaves-cell/#findComment-1584980 Share on other sites More sharing options...
Brain770 Posted March 10, 2021 Author Share Posted March 10, 2021 We are creating a cost sheet for quoting. We have Description cells that can have up 10 lines, currently we need to save and refresh page so it increases in height. Issues with this is the sheets are approx. 300 rows and we loose our position. What can we do? Quote Link to comment https://forums.phpfreaks.com/topic/312268-auto-incresase-row-height-when-cursor-leaves-cell/#findComment-1584982 Share on other sites More sharing options...
requinix Posted March 10, 2021 Share Posted March 10, 2021 1 minute ago, Brain770 said: We have Description cells that can have up 10 lines, currently we need to save and refresh page so it increases in height. So I guess that means you're editing the data on the page without it refreshing? Normally table rows will grow in height according to their contents, so if that's not happening for you then it seems like there's something explicitly preventing that from happening. How all does that work? Your screenshot looks like it shows good behavior so what's a screenshot of the bad behavior? What's the HTML for the row? Quote Link to comment https://forums.phpfreaks.com/topic/312268-auto-incresase-row-height-when-cursor-leaves-cell/#findComment-1584983 Share on other sites More sharing options...
Brain770 Posted March 10, 2021 Author Share Posted March 10, 2021 Quote Link to comment https://forums.phpfreaks.com/topic/312268-auto-incresase-row-height-when-cursor-leaves-cell/#findComment-1584984 Share on other sites More sharing options...
requinix Posted March 10, 2021 Share Posted March 10, 2021 Oh, it's a textarea. Take a look at these options. Quote Link to comment https://forums.phpfreaks.com/topic/312268-auto-incresase-row-height-when-cursor-leaves-cell/#findComment-1585004 Share on other sites More sharing options...
Brain770 Posted March 11, 2021 Author Share Posted March 11, 2021 Thanks for your help, I have sent this to me Dev and will let you know if it works. Thank you so much. Quote Link to comment https://forums.phpfreaks.com/topic/312268-auto-incresase-row-height-when-cursor-leaves-cell/#findComment-1585009 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.