Posted by : Akshay Patil
Monday, 16 March 2015
To set region width automatically perform following steps:
1. Set region id as shown below
2. Add following code in region header and footer block to set Scroll bar on overflow.
<div style="overflow: auto;" >...</div>
3. Write dynamic action to set screen width to region.
Add below code in dynamic action :
var v_size = screen.width;
$('#dependent_data').width(v_size);
where, "dependent_data" is a region id.
screen.width returns window size.