{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/shinyapps/issues/125","labels_url":"https://api.github.com/repos/rstudio/shinyapps/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/shinyapps/issues/125/comments","events_url":"https://api.github.com/repos/rstudio/shinyapps/issues/125/events","html_url":"https://github.com/rstudio/shinyapps/issues/125","id":55201637,"number":125,"title":"Align In renderTable for Variable Column DataFrame","user":{"login":"cyruslentin","id":8359110,"avatar_url":"https://avatars.githubusercontent.com/u/8359110?v=3","gravatar_id":"","url":"https://api.github.com/users/cyruslentin","html_url":"https://github.com/cyruslentin","followers_url":"https://api.github.com/users/cyruslentin/followers","following_url":"https://api.github.com/users/cyruslentin/following{/other_user}","gists_url":"https://api.github.com/users/cyruslentin/gists{/gist_id}","starred_url":"https://api.github.com/users/cyruslentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyruslentin/subscriptions","organizations_url":"https://api.github.com/users/cyruslentin/orgs","repos_url":"https://api.github.com/users/cyruslentin/repos","events_url":"https://api.github.com/users/cyruslentin/events{/privacy}","received_events_url":"https://api.github.com/users/cyruslentin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-22T20:03:59Z","updated_at":"2015-01-26T18:52:41Z","closed_at":"2015-01-26T18:52:41Z","body":"Have dataset in which want to show columns which is depends on user input\r\n\r\n```\r\n##ui.r\r\nlibrary(shiny)\r\nshinyUI(\r\n    fluidPage(\r\n        sidebarLayout(\r\n            sidebarPanel(\r\n                selectInput(\"thisMenu\", label=\"Mode\", choices=c(\"2\",\"3\",\"4\"), selected=1)\r\n            ),\r\n            mainPanel(\r\n                tableOutput(\"fileData\")\r\n            )\r\n        )\r\n    )\r\n)\r\n```\r\n\r\n```\r\n##server.r\r\nlibrary(shiny)\r\nshinyUI(\r\n    fluidPage(\r\n        sidebarLayout(\r\n            sidebarPanel(\r\n                selectInput(\"thisMenu\", label=\"Mode\", choices=c(\"2\",\"3\",\"4\"), selected=1)\r\n            ),\r\n            mainPanel(\r\n                tableOutput(\"fileData\")\r\n            )\r\n        )\r\n    )\r\n)\r\n```\r\n```\r\n### fileData\r\n  LeftColName RightColumn.1 RightColumn.2 RightColumn.3 RightColumn.4\r\n1       Row 1      1,00,000      2,00,000      3,00,000      4,00,000\r\n2       Row 2      1,00,000      2,00,000      3,00,000      4,00,000\r\n3       Row 3      1,00,000      2,00,000      3,00,000      4,00,000\r\n4       Row 4      1,00,000      2,00,000      3,00,000      4,00,000\r\n5       Row 5      1,00,000      2,00,000      3,00,000      4,00,000\r\n6       Row 6      1,00,000      2,00,000      3,00,000      4,00,000\r\n7       Row 7      1,00,000      2,00,000      3,00,000      4,00,000\r\n8       Row 8      1,00,000      2,00,000      3,00,000      4,00,000\r\n9       Row 9      1,00,000      2,00,000      3,00,000      4,00,000\r\n```\r\nNotice the use of function in \"align\" of renderTable.\r\nThis works the first time but once the selectInput value changes the align gives a problem.\r\n\r\nAny help on this will be appreciated.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rstudio/shinyapps/issues/comments/71515078","html_url":"https://github.com/rstudio/shinyapps/issues/125#issuecomment-71515078","issue_url":"https://api.github.com/repos/rstudio/shinyapps/issues/125","id":71515078,"user":{"login":"kippandrew","id":395128,"avatar_url":"https://avatars.githubusercontent.com/u/395128?v=3","gravatar_id":"","url":"https://api.github.com/users/kippandrew","html_url":"https://github.com/kippandrew","followers_url":"https://api.github.com/users/kippandrew/followers","following_url":"https://api.github.com/users/kippandrew/following{/other_user}","gists_url":"https://api.github.com/users/kippandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/kippandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kippandrew/subscriptions","organizations_url":"https://api.github.com/users/kippandrew/orgs","repos_url":"https://api.github.com/users/kippandrew/repos","events_url":"https://api.github.com/users/kippandrew/events{/privacy}","received_events_url":"https://api.github.com/users/kippandrew/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T18:52:41Z","updated_at":"2015-01-26T18:52:41Z","body":"I think this is a problem with shiny, not the shinyapps package. Try opening an issue there, or posting a message on the shiny-discuss (https://groups.google.com/forum/#!forum/shiny-discuss) group."}}