Loading ...
Sorry, an error occurred while loading the content.

44559Re: [ydn-javascript] Dialog contents modify dynamically.

Expand Messages
  • Satyam
    Feb 2, 2009
    • 0 Attachment
      On the Dialog side, you can see the contents of the form and modify it
      through the form property. On the DataTable, you can listen to the

      myDataTable.on('linkClickEvent',function (oArgs) {
      var link = oArgs.target;
      var record = this.getRecord(link);


      So, either through the attributes of the link element or through the
      values that you can read via getData from the record object, you can
      access the form on the dialog box and change whatever you want. Make
      sure to call Event.stopEvent to prevent the link from actually
      navigating anywhere.


      SAM_CHER wrote:
      > Is there any way to modify the contents of a dialog box dynamically
      > such as the contents of drop down list.
      > I have a datatable and there is a link on that data table that when
      > the user click a dialog box which contains a tab view is displayed.
      > Based on the link clicked some of the contents in the dialog box has
      > to be changed.
      > How to do this?
      > Thanks
      > ------------------------------------
      > Yahoo! Groups Links
      > ------------------------------------------------------------------------
      > No virus found in this incoming message.
      > Checked by AVG - www.avg.com
      > Version: 8.0.233 / Virus Database: 270.10.16/1928 - Release Date: 01/31/09 20:03:00
    • Show all 2 messages in this topic