Jump to content

Search the Community

Showing results for tags 'xtemplate'.

  • 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 2 results

  1. Please tell me why it does not work. No errors in bowser console. function beforeInit(sender, config){ config.loadingText = 'загрузка...'; config.emptyText='даних немає'; config.selectedCls = ''; //console.log(config); //console.log(sender); config.itemTpl = '<table style="width:100%; white-space:nowrap; vertical-align:middle;">'+ '<tr>'+ '<td style="color:#2c81aa">ID {0}, ID на сайті: {13}</td>'+ '</tr>'+ '<tr>'+ '<td>ДОЗ: {1}</td>'+ '</tr>'+ '<tr>'+ '<td>{2}</td>'+ '</tr>'+ '<tr>'+ '<td style="padding-top:3px;">{3}; {4}, {5}</td>'+ '</tr>'+ '<tr>'+ '<td style="padding-top:3px;">Фото: {15}</td>'+ '</tr>'+ '<tr>'+ '<td style="padding-top:3px;">Архів: {16}</td>'+ '</tr>'+ '<tr>'+ '<td id="phone" style="padding-top:3px;">{17}</td>'+ '</tr>'+ '</table>'; }
  2. Не могу понять, как правильно заменить текст В {5} находится значение в виде "@MyTelegramLogin", т.е. со значком @. Нужно сформировать ссылку без @. Т.е. "https://t.me/MyTelegramLogin". function beforeInit(sender, config){ config.loadingText = 'загрузка...'; config.emptyText='даних немає'; config.grouped = false; config.itemTpl = new Ext.XTemplate('<table style="width:100%; white-space:nowrap; vertical-align:middle;">'+ '<tr>'+ '<td style="padding-top:3px;">Телеграм:</td><td style="padding-top:3px;"><a href="https://t.me/' + this + '.DeleteAt({5}) " target="_blank">{5}</a></td>'+ '</tr>'+ '</table>' , { DeleteAt: function(val){ return val.replace('@', ''); } } ); } ошибок нет, но ссылка формируется неправильно. Получается вот такая чепуха: Подскажите, что я делаю не так?
×
×
  • Create New...