title: SAPUI5 Smart Table inside a dialog
body: <p>I've a sapui5 application which has several controls in my page. 
  Such as Tables , Calendar etc.</p>
  
  <p>And I've create a singe model for my page in the onInit event as follows</p>
  
  <pre><code>var viewModel = new JSONModel();
  
              //Prepare Initial Model
              viewModel.setData({
                  LineDetails: [],
                  Calendar: {},
                  PageMode: "add",
                  DateStart: new Date(),
                  DateEnd: new Date(),
                  IsHistoryAvailable: false
              });
             this.getView().setModel(viewModel);
  </code></pre>
  
  <p>What I need to do is, I've to include a Smart Table inside a dialog in this page.
  The dialog will open once I click a button in the page.
  How can I bind data to the smart table inside the dialog? </p>
  
  <p>I only have experience of binding the model to a smart table which either declaring default model in the manifest or in the page.</p>
  
  <p>But here I've already added a model to the page in the onInit event. 
  So how can I bind data?</p>
  
  <p>Is there a way to bind smart table to a Property which included in the above declared model.</p>
  
  <p>Propert name : <strong>SmartTableModel</strong></p>
  
  <p>eg : </p>
  
  <pre><code>viewModel.setData({
                      SmartTableModel:[]
                      LineDetails: [],
                      Calendar: {},
                      PageMode: "add",
                      DateStart: new Date(),
                      DateEnd: new Date(),
                      IsHistoryAvailable: false
                  });
  </code></pre>