Key velden in tabel minder opvallend door eigen class td.listid die lichtgrijs is

svn path=/Website/trunk/; revision=28973
This commit is contained in:
Jos Groot Lipman
2016-04-17 10:05:50 +00:00
parent d098e9938b
commit ebf82fd35a
3 changed files with 8 additions and 3 deletions

View File

@@ -89,7 +89,6 @@ function scaffolding_list(model, scf_params)
}
function scf_add()
{
var url = "<%= scf_params.this_fullpath + "?mode=wrap" + transit %>";
<%
if (modal) {
%>
@@ -275,7 +274,7 @@ function scaffolding_list(model, scf_params)
val = val["name"];
if (!(val in done)) // Voorkom dubbelen (opstelling/ruimte)
{
safebuilder.push(val);
safebuilder.push(safe.html(val));
done[val] = 1;
}
}
@@ -346,6 +345,8 @@ function scaffolding_list(model, scf_params)
else
if (field.typ == 'number' || field.typ == 'key')
coldata.datatype = 'number'; // Zo verwacht resultsettable dat
if (fld == 'id')
coldata.tdClass = 'listid';
if (field.autofloat) // Vanuit model_reports hebben we niet altijd correct autodetect
{ // van het datatype 'float' gedaan. Daarom hier autofloat

View File

@@ -521,6 +521,10 @@ tr.trtrack {
opacity: 0.8;
font-style: italic;
}
td.listid
{
color: #ccc
}
/* blockstyles */
.fcltframe {

View File

@@ -1247,7 +1247,7 @@ function __rsMakeTableRow(oRs, oRsFlexData, cnt, anyMultiActions, noFlexResult)
tooltip = (tooltip == null? "" : " title='" + safe.htmlattr(tooltip) + "'");
// Class voor de kolom
var columnClass = columns[i].columnClass == null ? null : this.myRs(columns[i].columnClass, oRs);
var columnClass = columns[i].columnClass == null ? columns[i].tdClass : this.myRs(columns[i].columnClass, oRs);
columnClass = (columnClass == null? "" : " class='" + columnClass + "'");
// custom sort key voor de kolom