on 12-15-2006 5:18 PM
Hi,
I am trying the following scenario, please let me know if this possible or not..
In a table for several columns, i want buttons coming....
But for some rows that button should not be there.
For instance:
Row1 - Button1 - Button2
Rows2 - Button3 - BlankCell (Invisible button may be)
Is this scenario possible, can we somehow set the Invisible property at cell level?
Regards,
Devashish
In versions of 04s , there is a feature called cell variant. Using this it is possible.
In lower versions,
1. Create a visibility attribute inside the node of the table
2. map the table cell editor to visibility prop to this attribute..
3. Set as needed.
Hope this helps.
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But wont this visibility attribute tagged to the entire column..
I tried the foll way:
1. I created a table
2. Added a Column
3. Added Cell Editor of type Button
4. if i set the visibilty attribute of this editor as WDVisibilty.NONE, no buttons appear..
While what i want is 1 cell of this column becomes invisible not the entire column....
Hi Armin,
Currently, all my attributes reside in the Data Source Node.
Now do i need to move all these attributes as well to the Non singleton node if this new node represents a "node for a row"?
I am sorry but the functioning of this is not very clear.
Could you please throw some more light on this?
Regards,
Devashish.
Thanks Abhilash for your inputs...
I understand what you have mentioned... Problem is i want to play with cells rather than entire rows...
If i have Visibility attr tagged for every row, i can make the rows visible/invisible, but i want to make certain Elements within the cells visible/invisible...
Hope i am able to convey the right message...
Regards,
Dev.
Hi Devashish,
Yes I agree with you. But my thought was for individual cell editor you can assign the Visibility property. In your case you have two columns..
DataSourceNode
- attrib1 (for value property column1)
- attrib2 (for value property column2)
- colVisible1 (for WDVisibility property column1)
- colVisible2 (for WDVisibility property column2)
So here, for example, for the first row you want to display two buttons..
then you can set two column properties to VISIBLE and in second row if you want show only first cell then for the second cell you can change the property to BALNK.
Hope this helps you.
Regards
Abhilash
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.