cancel
Showing results for 
Search instead for 
Did you mean: 

Table first row should be covered with orange line

Former Member
0 Kudos

HI,

I have a table and intially that is in disabled mode and below to that table i have ADD ,EDIt,Save,Exit buttons are there.

When i click on ADD button some records will add to the table which are deleted from table.

When i click on Edit button in that particular some columns will appear enable mode.

Now my user asked me to set table arrows(pagination) should be enabled if the table records have more than 5.

For this requirement i changed some properties like:

Enabled :true

Readonlyvalue:boolean value

Selectionmode:none.

Now its working fine but earlier table first had leadselection with orange line covered and now when i changed the properties

selection mode:auto to none

Readonly false to boolean value.

Now the user requires the orange line along with the arrows enable.

Isit possible to set the orange line appear in the table first row.

Please send your inputs.

Regards,

Prasad

Accepted Solutions (1)

Accepted Solutions (1)

former_member201361
Active Contributor
0 Kudos

Hi,

Isit possible to set the orange line appear in the table first row.

no , it is not possible if the selection mode set to None , u will not be able to select tabel row. please give more inputs for ur requirement.

Thanks and Regards

Former Member
0 Kudos

HI Fazal,

Earlier the table is in disable mode and the properties i have used

Selection mode:auto

Readonly:false

Enabled :Booleanvalue

I set these properties to the table.

Now the requirement is if tablehave more than 5 records, table should be disable mode but table arrows(pagination)

have to enabled.For these requiremnt i have changed the propeties like

Readonly:boolean value

Enabled:True:

Slection mode:none.

As per my knowledge the enabled property should set to True if we want to pagination enabled.

This is the requirement.

Please give your inputs.

Regards,

Prasad.

former_member201361
Active Contributor
0 Kudos

Hi,

As per my knowledge the enabled property should set to True if we want to pagination enabled.

can u check the output by setting the Selection Mode to "Single", enabled to True and read only to Boolean value.

Thanks and Regards

Former Member
0 Kudos

HI Fazal,

I already set the selection mode to single but its not working.Is there any alternate solution for this.

Regards,

Prasad

monalisa_biswal
Contributor
0 Kudos

hi,

You can use cellvariant in the table to highlight one row manually.

put cell variant under all columns in the table. Set its background color as CRITICALVALUE_DARK.

Add same cell editor as you have under tablecolumn to this cellvariant.

Create a value attribute under your table node. Bind this attribute to selected variant property of table column.

Dynamically set it to the variant name for the element needs to be selected.

Hope this helps!

Monalisa

Former Member
0 Kudos

HI Monalisaa,

Thanks for reply,

The first row border of the table should be covered by the orange line.It can possible or not?

Can you please explain your solution clearly.

With Regards,

Prasad

Answers (1)

Answers (1)

susmita_panigrahi
Active Participant
0 Kudos

Hi

When we create table and set selection mode property to AUTO and in output we can see table first row with orange line border.

Also go through the below wiiki ,

https://wiki.sdn.sap.com/wiki/display/Snippets/CreatingaColorLegendinaTableinWeb+Dynpro

Thanks

Susmita

Former Member
0 Kudos

HI Susmitha,

Thanks for reply,

I am using 2004 veriosn and i am unable to fine Legendpopin UI element inmy NWDS.

Regards,

Prasad