Hi Santosh,
Thanks for the reply. It's nearly there with a layout:'border' as you suggest.
The code is :
Code:
var messages = new Ext.grid.GridPanel({
region:'center',
border:false,
minSize:150,
height:200,
bodyStyle: 'padding:0',
store: dataStore,
cm: columnModel,
trackMouseOver:true,
... etc etc
});
var view_message = new Ext.Panel({
region:'south',
split:true,
autoScroll:true,
border:false,
title:'No message selected',
html:'<%= words(200) %>'
});
var panel = new Ext.Panel({
title:'Messages',
layout:'border',
autoScroll:false,
items:[messages, view_message]
});
Interestingly, when I did as you said and had regions 'center' and 'south' instead of 'north' and 'center' the splitter appears.
It's almost spot on, except for the scroll bars. The grid at the top has scroll bars as appropriate, but when the south region has too much text the scroll bars appear on the outer panel not the 'view_message' panel, plus the top grid disappears.
Any clues on this one?
Cheers,
Morris