Editable Grid always in "Edit Node"

Hi…
Does Anybody know, how to make the grid to appear always in a state of the edit mode, so the checkbox in the grid is always visible and are still able to edit / save / delete, and after we clicked save button then back to edit mode again automaticaly…

Thank’s

Satrio.

Re: Editable Grid always in “Edit Node”

Are you asking how to mimic what is in your screen shot?
Create a FORM app and select Editable Grid.

If this is not what you are asking, can you provide more detail, as the Edit Grid should provide what you are asking.

Regards,
Scott.

Re: Editable Grid always in “Edit Node”

Hi Scott,

This is what I hope : everytime this grid appears, it always in edit mode “automatically”. We don’t have to click edit button, the grid always ready to be edited. And after we click save/update button, the grid should be in edited mode again, not read only mode. Thank’s Scott.

Satrio.

Re: Editable Grid always in “Edit Node”

One more question Scott :slight_smile:

Where should I put SC code for conditional formatting (like Cell Conditional Formatting in Xls) applied to cell in grid, for example if Employee ID = ‘001’ then backgroundcolor = yellow. (sorry, I don’t have css knowledge). Thank’s.

Satrio

Re: Editable Grid always in “Edit Node”

If you create a form (not a grid) and select ‘Editable Grid’ it will always be in Edit Mode at all times.
http://downloads.scriptcase.net/downloads/v5/manual/en_us/webhelp/manual_mp/manual_mp.htm

As for the cell color, use the onLoadRecord event: (in a regular grid, use onRecord)

if ({field_name} == ‘001’ ) {
sc_field_color(‘field_name’,’#ff0000’);
} else {
sc_field_color(‘field_name’,’’);
}

Regards,
Scott.

Re: Editable Grid always in “Edit Node”

Ahh, sorry. I did not read documentation. So easy to make Editale Grid. Thank You especially for formatting cell recipe, Scott. But those questions are not the end because I just started using Scriptcase.

Regards,

Satrio.