Hi,
I can get the horizontal scroll bar to appear when I have autoGenerateColumns set to false and I give each column a width that adds up to more than the grid's width.
But I was wondering if it's possible to get a horizontal scroll bar to show with autoGenerateColumns set to true?
Thanks,
Armando
Hi Armando,
Thank you for posting in Infragistics forums! When columns are auto-generated you can’t set width to each one of them. But you can set the defaultColumnWidth option. Its value will be the width of the columns and if the sum of their widths exceeds the width of the whole grid a horizontal scroll bar will be rendered. I also prepared a jsfiddle sample for you.
I hope this helps!
Kind regards,
Petko Zhekov
Senior Software Engineer
Sorry for the late reply, Thanks I got that working but what if a cell's content exceeds the default column width? I'm getting the columns and data dynamically so the defaultColumnWidth only partially solves the problem because content that exceeds the column width will get cut off, correct? is there any way around this?
Currently we are working towards improving this. To ensure that it will receive updates, I have logged this behavior in our internal tracking system with a Development ID of 193267. A support case is created on your behalf with number CAS-154369-R3Y8X8, so that you can be notified when the bug is fixed.
You can find your active cases under Account - Support Activity in our website. Select your ticket and go to Development Issues tab to view the status of related issues.
Hello Armando,
Your development issue has been addressed in our latest service release which is available for download.
Please let me know if you come across any further issues with the new service release or if you have any further questions .
Kind Regards,
Software Developer
Infragistics, Inc.
I’m glad you were able to resolve the issue.
Please do not hesitate to contact me if you have any further questions regarding this matter.
Kind regards, Petko Zhekov Software Developer
I hope everything is ok with the build. If you need any additional assistance with this case feel free to contact me. I will keep this case open for another three days while I am waiting for your response. If at that time you haven`t responded, I will close it. Please note that closed cases may be reopened within thirty days of closure.
Thank you for choosing Infragistics components!
Awesome! thanks, I will check it out