on 11-15-2011 6:13 AM
Hi,
I am using WebDynpro Table UI, in that I need to show only 4 Rows. I am using TableStandardCell Variant in my table.
I have set the following Properties of Table:
VisibleRowCount : 4
Selection Mode : none
selectionChangeBehaviour : auto
scrollableColCount : -1
rowSelectable : true
readOnly : false
footerVisible : true
fixedTableLayout : false
firstVisibleRow : 0
design : standard
compatibilityMode : auto
But run time in my table its showing 5 Rows, buttom of the table one blank row is showing (Table size is 4 only).
I dont want to show that blank row.
Please advice.
Thanks in advance..
Hello Sweety,
As it is the TableStandardCell which is inserted in Table Column, we will not get the property of Visible. So, try destroying the Cell in Modify View. Try the following Code.
IWDTableStandardCell cell = (IWDTableStandardCell)view.getElement("Id of Table Standard cell");
cell.destroy();
Regards
Nizamudeen SM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Instead of using
design : standard
Use
design : alternating
and set the following properties from true to false
displayEmptyRows : false
Regards
Piyas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay
As I have mentioned in my question my table node size is 4 and It will be always 4.
Table is showing all 4 records and one empty rows at last row of table.
When I am setting VisibleRowCount = 3, then Table is showing 4 rows ( 3 records and one empty row at the end of table)
And if I am setting VisibleRowCount = 4, then Table is showing 5 rows ( 4 records and one empty row at the end of table)
@ Piyas,
I have changed the table design properties as suggeted but did not work. I dont see any "displayEmptyRows" properties of table UI.
I am using SAP NetWeaver Developer Studio Version: 7.0.14.
Please suggest...
Thanks in advance.
Hi,
Sorry.. In my above question I have mentioned that I am using TableStandardCell Variant but actually
I am using FixedbuttomCell type of cell variant in my table and I am not setting any values in that cell variant, because of that only Empty row is showing.
Can any one suggest me how to hide that FixedbuttomCell variant without deleting it as in future I may use this FixedbuttomCell variant.
Thanks in advance
Hi,
Try printing the table node size and chk..You'll understand..
Regards,
Vijay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.