Page 1 of 1

Browse screen: don't allow to open the edit screen

Posted: Thu Apr 24, 2014 4:55 pm
by ruiascensao
Hi,

I have a Browse Screen where I just need to list the records from a table.

I don't want the user to open the edit screen.

If the user tries to copy data from the Browse screen, it opens the Edit screen.

How can I avoid the Edit screen to open?

Thank you.

Re: Browse screen: don't allow to open the edit screen

Posted: Fri Apr 25, 2014 1:36 pm
by ruiascensao
Hi,

Is there a way to use nuLoadBrowse() / nuGridClass( ) to achieve this?

Thank you.

Re: Browse screen: don't allow to open the edit screen

Posted: Mon Apr 28, 2014 5:21 pm
by massiws
Rui,
try this in Custom Code -> Javascript:

Code: Select all

function nuLoadBrowse() {
    $( "#nuBrowseTabAreaHolder" )
        .find( "div[id^='row_']" )
        .off("click");
}
Max

Re: Browse screen: don't allow to open the edit screen

Posted: Mon Apr 28, 2014 10:57 pm
by ruiascensao
Hi Max,

It works fine. Fantastic!!!

Thank you for your help!

Re: Browse screen: don't allow to open the edit screen

Posted: Tue Apr 29, 2014 8:02 am
by massiws
.