Jump to content


Photo

UnimDBListGrid itemTpl ajaxrequest


  • Please log in to reply
3 replies to this topic

#1 ice

ice

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 64 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
  • 4149 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
  • 64 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

#4 Ken_Sowyer

Ken_Sowyer

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationBrazil

Posted 19 January 2018 - 11:25 AM

http://forums.unigui...button-onclick/


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users