Surya,

Could it be because however you style an individual cell the nth column 
styling is done after that?
or 
Should background:none be background-color:none as in the stylesheet 
tiddler?

Otherwise, I can't follow the full operation. And do not have the test 
platform.

I hope these suggestions help

Tony

On Monday, December 17, 2018 at 6:16:39 AM UTC+11, Surya wrote:
>
> Hi Tony, Mohammad & Ton,
> sorry for my late answer...
>
> I think, I mean a different thing.
> I *don't* have a "normal" static table like 
> |head1|head2|head3|
> |cell1|cell2|cell3|
>
>
> *But I generated a table with the formula plugin 
> (https://evanbalster.com/tiddlywiki/formulas.html 
> <https://evanbalster.com/tiddlywiki/formulas.html>).*
> The table-tiddler is:
>
> \define formulaFixed() 2
> \define ss_cols() A B C D E F G H I J
> \define ss_rows() 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 
> 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
> \define ss_cell() $(c)$$(r)$
>
> <$tiddler tiddler="Spreadsheet/Data My table">
>
> <table class="my-table">
>
> <$vars popupState=<<qualify "$:/temp/spreadsheet/pop">> popupCell=<<qualify 
> "$:/temp/spreadsheet/popcell">> >
>
> <$reveal type="popup" state=<<popupState>> >
> <div class="tc-drop-down tc-popup-keep">
>
> <$set name="cell" filter="[title<popupCell>get[text]]">
> ''<<cell>>'': <$edit-text tag=input index=<<cell>> size=150 />
> <$button 
> class="tc-btn-invisible">{{$:/core/images/save-button}}<$action-setfield 
> $tiddler=<<popupState>> text=""/></$button>
> </$set>
>
> </div>
> </$reveal>
>
> <table>
> <tr><th></th><$list variable=c filter=<<ss_cols>> ><th><<c>></th></$list
> ></tr>
> <$list variable=r filter=<<ss_rows>> >
> <tr>
>     <th style="padding:0;"><<r>></th>
>     <$list variable=c filter=<<ss_cols>> ><td style="padding:0;">
>         <$button popup=<<popupState>> style=
> "width:100%;margin:0;padding:6px;display:block;background:none;border:none;cursor:pointer;"
> ><$action-setfield $tiddler=<<popupCell>> text=<<ss_cell>>/> <$formula 
> formula=<<ss_cell>>/>
>         </$button>
>     </td>
>     </$list>
> </tr>
> </$list>
> </table>
>
> </$vars>
>
> <!-- <table>
> <tr><th></th><$list variable=c filter=<<ss_cols>> ><th><<c>></th></$list
> ></tr>
> <$list variable=r filter=<<ss_rows>> >
> <tr><th><<r>></th><$list variable=c filter=<<ss_cols>> ><td><$edit-text 
> tag=input index=<<ss_cell>> size=10/></td></$list></tr>
> </$list>
> </table> -->
>
> </table></$tiddler>
>
>
>
>
> It is styled with a Stylesheet-tiddler like this (only a little bit of the 
> stylesheet-tiddler copied, just to show how):
>
> .my-table th:nth-child(11),
> .rezepterechner-table td:nth-child(1) {
>   background-color:white;font-size:0.5em;
> }
>
> .my-table td:nth-child(3) {
>   background-color:#ffa366;
> }
>
> .my-table tr:nth-child(1) {
>   font-weight:bold;
> }
>
>
>
> Now it looks like (a screenshot is -because of a lot of rows- too big I 
> think and in german, so I show it like this and just as an example):
>
> |*header1*|*header2*|*header3*|*head**er4*|*head**er5*|*head**er6*|
> |cell1|cell2|cell3|cell4|cell5|cell6|
> |cell11|cell12|cell13|cell14|cell15|cell16|
> |cell21|cell22|cell23|cell24|cell25|cell26|
> |*cell31*|*cell32*|*cell33*|*cell34*|*cell35*|*cell36*| >this row is 
> styled to be green. But it is overwritten from the styled columns (2, 3, 
> 5 & 6), so only the not-styled cells are green)
> |*cell41*|*cell42*|*cell43*|*cell44*|*cell45*|*cell46*| >this row is 
> styled to be orange. But it is overwritten from the styled columns (2, 3, 
> 5 & 6), so only the not-styled cells are orange)
>
>
>
> But it should look like this:
>
> |*header1*|*header2*|*header3*|*head**er4*|*head**er5*|*head**er6*|
> |cell1|cell2|cell3|cell4|cell5|cell6|
> |cell11|cell12|cell13|cell14|cell15|cell16|
> |cell21|cell22|cell23|cell24|cell25|cell26|
> |*cell31*|cell32|*cell33*|cell34|cell35|cell36|
> |*cell41*|cell42|*cell43*|cell44|cell45|cell46|
>
> Do you understand, what I mean??
> Any help??? Pleeeaaase... :-)
> Surya
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f074cee8-3d04-47a2-a07d-9f279a657517%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to