       new XLF.Row(obj)
 
 class XLF.RowDetail extends BaseModel
+  idAttribute: "name"
   constructor: (@key, valOrObj={}, @parentRow)->
     super()
     vals2set = {}

    output

  exp.typeSelectList = do ->
    tlids = []
    for [id, descrip] in typeLabels
      tlids.push [descrip, id]
    () -> tlids

  exp



class XLF.Settings extends BaseModel
  defaults:
    form_title: "New survey"
  toCsvJson: ->
    columns = _.keys(@attributes)
    rowObjects = [@toJSON()]
