function disable_tabform_items ( tabSelector )
{
// loop along all the rows with a DISABLE_ITEMS cell
$(tabSelector).find('[data-item="DISABLE_ITEMS"]').each(
function()
{
// make array of item names to be disabled
list = $(this).val().split(':');
if ( list.length > 0 )
{
// identify the row
var tr = $(this).closest('tr');
// disable all the item in the list
for ( i=0 ; i < list.length ; i++ )
{
$(tr).find('[headers="'+list[i]+'"]')
.find('input,textarea,select,button.ui-datepicker-trigger,a.a-Button--popupLOV')
.addClass('apex_disabled')
.attr('tabindex','-1');
}
}
});
}