insert new row at the top of the page

Hello

i have an editable grid … when i add a new row it is always at the botom of the page… i cannot find an option to change that so new rows will be added on top of the page.

suggestions ?

Re: insert new row at the top of the page

Hi,

check the order from the database table … or sort with / in SC.

Re: insert new row at the top of the page

that does not change what i want…

it is the position on the screen …

When i clik “new record” it adds at the botom of the row… and i want to add new records at the top…

hope you understand what the problem is.

Re: insert new row at the top of the page

What type o form? Editable, Multiple lines …?

Re: insert new row at the top of the page

sorry been working on an other project lately…

but back to this one… The problem/ wish occurs in an editable grid view…

and then espessially used in a master/ detail where the editable grid view is a detail represented in a tab under the master record… let’s say my master has 400 details… I Nuber of displayed lines is set to 1000 so that is no problem… if i now want to add i have to scroll all the way down… I want to reverse the order… en add new records on top… so you don’t have to scroll down

Hi

Did you manage to solve this problem?

try this in javascript method
create method name = scroll
insert code
“window.scrollTo(0,document.body.scrollHeight);”

and run this
sc_ajax_javascript(‘scroll’);
at onScriptInit

whenever you open or reload form it will automatically scroll to bottom and place ADD New Button to buttom toolbar

hope this will solve your problem