jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts

  • bmarques3
    Participant

    I have read through this example but I have one question…

    When you provide the columns dynamically, how can you call methods because the function in quotes is not valid and without quotes is invalid JSON?

    var json = ‘[{
    “columns”: [
    {“text”: “Name”, “datafield”: “name”, “width”: “250” },
    { “text”: “Beverage Type”, “datafield”: “type”, “width”: “250” },
    { “text”: “Calories”, “datafield”: “calories”, “width”: “180”, “cellsrenderer”: “cellsrenderer”},
    … etc

Viewing 1 post (of 1 total)