Skip to content

Commit

Permalink
Revert "remove id and and name columns"
Browse files Browse the repository at this point in the history
This reverts commit ec48f29.
  • Loading branch information
gidden authored and rwcarlsen committed Apr 7, 2016
1 parent 51097fe commit 1d384f0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions source/arche/dbtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ yet supported, please let us know and we'll get to it as soon as possible!

**Description of fields:**

:id: enum identifier (value) for database type in the ``cyclus::DbTypes`` enum.
:name: enum name for database type in the ``cyclus::DbTypes`` enum.
:C++ type: the cooresponding C++ type.
:shape rank: the maximum rank (length) of the ``shape`` vector.
:backend: the database backend type.
Expand Down Expand Up @@ -65,7 +67,12 @@ yet supported, please let us know and we'll get to it as soon as possible!
};
$(document).ready(function() {
fields =[{name: "C++ type", type: 'string', filterable: true,
fields =[{name: 'id', type: 'integer', filterable: true},
{name: 'name', type: 'string', filterable: true,
displayFunction: function(value){
return '<div style="font-family:Courier,monospace;">' +
value + '</div>';}},
{name: "C++ type", type: 'string', filterable: true,
displayFunction: function(value){
return '<div style="font-family:Courier,monospace;">' +
value + '</div>';}},
Expand All @@ -89,7 +96,7 @@ yet supported, please let us know and we'll get to it as soon as possible!
setupPivot({json: dbdata, fields: fields,
filters: {version: "v1.2"},
rowLabels: ["C++ type", "shape rank"],
rowLabels: ["id", "name", "C++ type", "shape rank"],
columnLabels: ["backend"],
summaries: ["supported_sum"]});
Expand Down

0 comments on commit 1d384f0

Please sign in to comment.