Hi.
I'm creating a vertical splitter setting the min and max properties of the left panel to limit the splitter resizable values, but when the window is resized, this values are not updated.
More specifically, min is a fixed value (around 400px) and works ok because never needs to change. But the max limit is 75%.
The problem is. i.e. when the page is loaded in a small window (let's say 600px) and the splitter is created (having a max of 600*0.75 = 450).
Then, the window is resized to 1920 but the max value stays at 450, when it should be updated to 1440px.
I thought it was automatically updated, but it isn't. Ok. the problem comes when I try to update it manually in a $(window).resize event, but there's no option to update this values.
Any idea?
Hello Daniel,
Thank you for contacting Infragistics Support!
I have created case for you with id CAS-156890-S7L1Q3. You could reach your case following the link bellow:
https://ko.infragistics.com/my-account/support-activity I will update you via the mentioned case, so if you have any further questions or comments please update your case.
Hello Boris.
If the limits applied to a panel is specified in percentages, yes, they are dependent of the size of the parent (the window in this case).
As I explained, if the window is resized, the limits of the splitter should be updated too.
As you can see here, the min property (green) is specified in pixels and stays without a change, but when the window is resized, the orange one changes because it's specified in percentages, relating to the window/parent size
The limits applied to the panel have the purpose of limiting the areas of sizing the splitter. They do not have anything to do with the size of the window I believe.
Can you let me know of your final goal if these options do not satisfy your needs so I can try to come up with a different solution as I am not sure that I am getting what you are after?