chrisutley
Newbie

Posts: 2
|
 |
« on: May 20, 2010, 08:33:24 PM » |
|
Please see the attached image for an example. The PMID column (the first column) seems to work in that you can at least resize it. The rest of the columns cannot be resized, and as you can see the headers and their corresponding columns aren't matching up in terms of width.
Any ideas on what we might be doing wrong?
This is the JSON used to feed the grid config:
{"dsConfig":{"fields":[{"name":"PMID","type":"integer"},{"name":"First Author"},{"name":"Publication Year","type":"integer"},{"name":"Author List Format"},{"name":"Title"},{"name":"Journal"},{"name":"Volume: Pages"},{"name":"Affiliation"},{"name":"Publication Type"},{"name":"NCT Identifier"},{"name":"Countries"},{"name":"Study Design"},{"name":"Arrhythmia Type"},{"name":"Ablation Energy Type"},{"name":"Technology Keywords"},{"name":"Abstract"}],"recordType":"object"},"colConfig":[{"id":"PMID","header":"PMID","width":100},{"id":"First Author","header":"First Author","width":120},{"id":"Publication Year","header":"Publication Year","width":240},{"id":"Author List Format","header":"Author List Format","width":200},{"id":"Title","header":"Title","width":200},{"id":"Journal","header":"Journal","width":100},{"id":"Volume: Pages","header":"Volume: Pages","width":90},{"id":"Affiliation","header":"Affiliation","width":150},{"id":"Publication Type","header":"Publication Type","width":240},{"id":"NCT Identifier","header":"NCT Identifier","width":75},{"id":"Countries","header":"Countries","width":80},{"id":"Study Design","header":"Study Design","width":100},{"id":"Arrhythmia Type","header":"Arrhythmia Type","width":100},{"id":"Ablation Energy Type","header":"Ablation Energy Type","width":100},{"id":"Technology Keywords","header":"Technology Keywords","width":100},{"id":"Abstract","header":"Abstract","width":100}]}
|