EasyUI Forum
November 05, 2025, 12:13:09 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: grid link to another page...  (Read 8770 times)
federico
Newbie
*
Posts: 6


View Profile
« on: December 21, 2020, 03:48:42 PM »

Hi I would like after a click event upon  a grid column
to load a form passing the value of the item

something like this

<div data-options="disabled:false"><a style="text-decoration:none;" href="appl.exe?MK-KEY=2020122123415297" class="easyui-menulink"> item1 aree</a></div>

Any way to do that ? (also without easyui-menulink item.. i posted these lines just to give you an idea..)

thanks
Federico
Logged
jarry
Administrator
Hero Member
*****
Posts: 2300


View Profile Email
« Reply #1 on: December 24, 2020, 07:28:49 AM »

Do you want to format a link on a cell? If so please try this code.
Code:
<th data-options="field:'productid',width:100,  
    formatter:function(value){
        return '<a href=\'appl.exe\' target=\'_blank\'>'+value+'</a>';
    }
">Product</th>
Logged
federico
Newbie
*
Posts: 6


View Profile
« Reply #2 on: December 25, 2020, 05:15:50 AM »

Yes I want to have a link for each items added with several <td> this seems a good solution. thanks again
and
Merry Christmas

Federico
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!