Jump to content

Search the Community

Showing results for tags 'OnClick'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. Hello! How I get the onclick event of a button in a UnimDBListGrid? function beforeInit(sender, config) { config.itemTpl = '<div>'+ '<t>{0} </t>'+ '<button id={1} onclick="DEL_ITEM">X</button>'+ '</div>' } Thanks!
  2. How to make the button will run to open the other form ? config.itemTpl= new Ext.XTemplate ( ' <table style="color:white;vertical-align:left;border-style:outset;border-radius:1px;background:SlateBlue; ">'+ '<tr> '+ '<td width="10px" rowspan="2">{7}</td>'+ '<td >{2}, {6}km away</td> '+ '<td > ({5}) <img src="files/images/star.png" ></td> '+ '<td rowspan="2"> {[this.getColor(values)]} </td>'+ '<td rowspan="2"> <button onclick=this.myFunction()>Profiles</button></td> '+ '</tr> '+ '<tr> <td>{8}</td>'+ '<td>{[this.Setfree(values)]} </td> </tr>'+ '</table>', { getColor: function(values) { if(values[10] == 2) return '<img src="files/images/YellowLight.png">'; else if (values[10] == 3) return '<img src="files/images/BlueLight.png">'; else return '<img src="files/images/RedLight.png">'; } } , { Setfree: function(values) { if(values[9] == 0) return 'Free'; else return '$'+values[9] ; } } , { myFunction: function(){ ajaxRequest(sender,"showdetails",[]); } } ); unimdblistgrid-->onajaxevent : if EventName = 'showdetails' then begin fmWorkerProfile.ShowModal(); end; i can not make it run
  3. What is the best way to go to a web page when you click an element? For example, it is common for a company logo to be displayed in a corner. In HTML you would just wrap a href around it. After extensive searching in the forum I found the following method, which does the job. Injecting JS in this way seems overkill but I guess is the only/best way? UniSession.AddJS('window.location.href="http://mycompany.com";');
×
×
  • Create New...