Jump to content


Photo

UnimDBListGrid itemTpl ajaxrequest


  • Please log in to reply
2 replies to this topic

#1 ice

ice

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 51 posts

Posted 12 January 2017 - 09:44 AM

Hi,

i create a Button with itemTpl in UnimDBListGrid(UniEvents) .

How can ajaxrequest by click button ?

 

 


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 2242 posts

Posted 12 January 2017 - 10:19 AM

Hi,

 

Can you provide this part of the code here ?!

 

Best regards.


  • 0

#3 ice

ice

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 51 posts

Posted 12 January 2017 - 11:02 AM

Code in UnimDBListGrid->UniEvents:

 

function beforeInit(sender, config)
{
   config.itemTpl =   '<div>'+
                     '<t>{0} </t>'+
                     '<button id={1} onclick=" ??? ">Button</button>'+
                     '</div>'
}


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users