NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on June 29, 2010, 11:35:20 AM
-
Hi,
How / where do we put in class names and or Identifiers in each line of the browse so that the css class or identifer selector will be able to see it and color it appropriately for each COLUMN???
Thanks,
Ron Jolda
-
Hi Ron,
your question is a tad ambiguous - can you refine it please?
it's possible to style each cell individually, and each column individually, but I'm not sure what you have in mind when you talk about rows and selectors. Maybe take a screen shot and scribble on it to show the effect you're after.
cheers
Bruce
-
I need to be able to put in several levels of classes or Identifiers so that I can use CSS to :
1. Color table Rows depending on the Class or ID of the Row
2. Then color individual cells on each row depending on 2 values for columns within the row......
So, the first part is getting the classes and identifiers for ROw and Column so that css can find them.
Thanks,
Ron Jolda
-
>> So, the first part is getting the classes and identifiers for Row and Column so that css can find them.
no, I think this is perhaps slightly misleading.
The starting point, and the ending point, is simply to set the Css for the cell.
The setting on the template is an expression. So, I'd do something like;
choose(xxx > 100,'red','green')
if the choice was really simple, or something like
loc:cellclass
if the decision is somewhat complex.
Then right-click the procedure, choose source, search for loc:cellclass, and prime it in an embed right before it's used.
oh, and declare the loc:cellclass variable as a string.
Does that answer your question though?
cheers
Bruce
-
Hi Bruce,
This and the info on css in the documentation will get me started!
Thanks,
ROn