<input id="f04_9" type="text" style="text-align: right;" value="2300" maxlength="12" size="12" name="f04"/>
To overcome this problem you may want to use the following in front of your apex_item:
'<INPUT TYPE="HIDDEN" VALUE="'
|| LPAD (sal, 20, '0')
|| '" />'
|| apex_item.text (4,
TO_CHAR (sal),
12,
12,
'style="text-align:right" ',
'f04_' || ROWNUM,
NULL
) sal_editable

You could use any other value instead of the original one as well (ROWNUM, ename) and use it for sorting.
Here, you will find a working example:
http://htmldb.oracle.com/pls/otn/f?p=31517:167
Enjoy.


















