Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Grid - imput columns, summing

Former Member
0 Likes
574

Hello,

I have received a design spec to use a grid. Below are some of the requirements.

1. The first line of the grid should be only output since this is a reference line. The next lines should be available for input, but only some columns, the other columns should contain information copied from the reference line.

2. The header text for the columns that are for input should be colored red.

3. I also need to sum one column, but only the input values, ie. excluding the value in the first line (reference).

Is this possible?

Thank you for your help,

Patrick

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
544

Hi,

1. What you need to do for this is to enable the editing feature cell by cell. The same can be acived by adding a column STYPE TYPE LVC_T_STYL to the internal table. Now, for a row and append a column in this nested internal table setting the style as MC_STYLE_ENABLED / MC_STYLE_DISABLED. This will enable the editing of specific columns of a row.

2. I don't think you have the Header text in a different color.

3. Summing excluding specific rows is not possible.

Regards,

Ravi

Note : Please mark all the helpful answers

2 REPLIES 2
Read only

Former Member
0 Likes
545

Hi,

1. What you need to do for this is to enable the editing feature cell by cell. The same can be acived by adding a column STYPE TYPE LVC_T_STYL to the internal table. Now, for a row and append a column in this nested internal table setting the style as MC_STYLE_ENABLED / MC_STYLE_DISABLED. This will enable the editing of specific columns of a row.

2. I don't think you have the Header text in a different color.

3. Summing excluding specific rows is not possible.

Regards,

Ravi

Note : Please mark all the helpful answers

Read only

0 Likes
544

Thanks for the tips Ravi.

- sorry for the delay, had problems trying to log in.