Telerik Forums
UI for PHP Forum
1 answer
65 views
Can I define a column as unique so no new value is allowed if already entered before ?
Alexander Valchev
Telerik team
 answered on 30 Dec 2015
1 answer
57 views

Hi Telerik Team,

is it possible to get the current row & column level for one mesure? The intention is to  create a link to an another page for "detailed" information.

 

Example is attached:

[a href="detailpage?contactTitle=Order Administrator&Allcountries=Germany&All Companies=Drachblut"] 1 [/a]

Cheers

Boris

Georgi Krustev
Telerik team
 answered on 26 Nov 2015
3 answers
60 views
When i edit grid  on popup and i use one list example category list, this field (category) is not updated in database, the other fields are updated. can you help me please. how i can use lists in popup edition?
Alexander Popov
Telerik team
 answered on 25 Nov 2015
1 answer
54 views
In your example editing-custom you used one list (category) but i need two or more lists, how can i do?. example city, country, job at same time
Alexander Popov
Telerik team
 answered on 24 Nov 2015
1 answer
98 views

I am building a test app with kendo ui php.
I am using a grid following the examples I have found on telerik web site.

The grid works correctly on a single table, but I am not able to get it working if I try adding a field from another table.

In the example I have, which is working correctly, you set the read table fields in this way:

 

$read_columns = array(<br>    'p.ProductID', <br>    'p.ProductName', <br>    'p.UnitPrice', <br>    'p.UnitsInStock', <br>    'p.SupplierID',<br>    '(select s.CompanyName From Suppliers s Where s.SupplierID = p.SupplierID) as SupplierName',<br>    'p.CategoryID',<br>    '(select c.CategoryName From Categories c Where c.CategoryID = p.CategoryID) as CategoryName',<br>  );​

 I was able to setup the datagrid without foreign fields:

 

$read_columns2 = array(<br> 'idAnagraficaPDV',<br>'data',<br> 'ora',<br> 'downloadStatusId',<br>//'(select s.descrizione From downloadstatus s Where s.downloadStatusId = d.downloadStatusId) as downloadstatus',<br>  // '(Select s.descrizione From downloadstatus s  Where s.downloadStatusId IN (Select d.downloadStatusId From d)) as descrizione'<br> //    '(Select s.descrizione From downloadstatus s  Where s.downloadStatusId IN (Select d.downloadStatusId From downloadlogs d))'<br><br><br>  );​

but if I try adding the foreign fields - removing the comments from one of the commented lines, I get no more data in datagrid. Note that the script passes to the browser a json array with the correct count of records but without data:

{"total":2,"data":[]}​

while removing commenting the query line it retrieves the correct data, but of course without the field I need:

{"total":3,"data":[{"idAnagraficaPDV":"2","data":"2015-11-07","ora":"15:55:00","downloadStatusId":"1"},{"idAnagraficaPDV":"2","data":"2015-10-06","ora":"06:20:00","downloadStatusId":"2"},{"idAnagraficaPDV":"2","data":"2015-11-09","ora":"05:00:07","downloadStatusId":"3"}]}​

 

Note the query I have set in string works correctly in the database.

Any suggestion?

 

T. Tsonev
Telerik team
 answered on 16 Nov 2015
1 answer
75 views

I am trying kendo ui for php grid.

I cannot find in documentation how to set a fixed grid width and how to customize Update, Cancel buttons on edit popup and how to set popup title text.

Any help appreciated

Alexander Popov
Telerik team
 answered on 12 Nov 2015
2 answers
171 views
I need configure MS SQL Server database, where i must do it. All examples are using sample.db
Oscar
Top achievements
Rank 1
 answered on 09 Nov 2015
0 answers
55 views

Requirements

Telerik Product and Version


Supported Browsers and Platforms


Components/Widgets used (JS frameworks, etc.)



PROJECT DESCRIPTION 
[enter description here, together with step-by-step instructions on how to use the project]
Generally an issue however there is a useful way of utilizing and reading Read-Only dates on PHP platforms. Credit to Cody from Telerik who has provided a brilliant easy to follow Screen cast for this:

 

Cody's response:

"This video walks you through the approach I recommend you try:
http://screencast.com/t/JY3GfP3d
Here is the code I used in the video:
Pages.HotelsBookDirectAnd.CheckInDateText.Value = DateTime.Now.AddDays(5).ToString("d");
Pages.HotelsBookDirectAnd.CheckOutDateText.Value = DateTime.Now.AddDays(10).ToString("d");
You'll need to adapt it to fit your UI elements plus the needs of your application."

Ali
Top achievements
Rank 2
 asked on 04 Nov 2015
0 answers
51 views

Symptoms

Loading kendo.all.min.js file in IE 8 results in multiple JavaScript errors.

Typically the error message will be "Object doesn't support this property or method" and will be caused by a call to mapforEach or bind.

Root Cause

The errors are due to the inclusion of the Kendo UI Spreadsheet​ which requires IE9 and later.

It was nevertheless bundled in kendo.all without the necessary run-time checks.

Mitigation

  • Use a custom bundle that does not include the Spreadsheet widget
  • Load an ES5 Polyfill, for example es5-shim, before kendo.all.min.js:

 

 

Solution

A permanent fix will be included in the next internal build, version 2015.3.1002, due for release on 2 Oct 2015.

Future Service Packs and official releases will be free of this defect as well.

 

Apologies for the caused inconvenience.​

Kendo UI
Top achievements
Rank 1
 asked on 01 Oct 2015
4 answers
494 views

I take a tabstrip on my website. But when loaded the page it need be hidden. If the user click a checkbox then tabstrip must be display. It is ok, but I use scrollable tabs. But it is display not scrollable tab..

 

It is the code:

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>Telerik Line Chart</title>
    <link rel="stylesheet" href="TelerikPHPUI/styles/kendo.common.min.css" />
    <link rel="stylesheet" href="TelerikPHPUI/styles/kendo.default.min.css" />
    <script src="TelerikPHPUI/js/jquery.min.js"></script>
    <script src="TelerikPHPUI/js/kendo.all.min.js"></script>
    </head>
    <body>
        <input type="checkbox" onclick="if (this.checked) { $('.demo-section').css('display', 'inline-block') } else { $('.demo-section').css('display', 'none') }" />
        <?php
        require_once 'TelerikPHPUI/Kendo/Autoload.php';
         
        echo '<div class="demo-section" style="max-width:400px; display:none;">';
         
        $tabstrip = new \Kendo\UI\TabStrip('tabstrip');
         
        $item = new \Kendo\UI\TabStripItem();
         
        $item->text("Tab 1 with long text")
                 ->selected(true)
                 ->startContent();
         
        echo '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer felis libero, lobortis ac rutrum quis, varius a velit.</p>';
         
        $item->endContent();
        $tabstrip->addItem($item);
         
        $item = new \Kendo\UI\TabStripItem();
        $item->text("Tab 2 with long text")
                 ->startContent();
         
        echo '<p>Donec lacus erat, cursus sed porta quis, adipiscing et ligula. Duis volutpat, sem pharetra accumsan pharetra, mi ligula cursus felis, ac aliquet leo diam eget risus.</p>';
         
        $item->endContent();
        $tabstrip->addItem($item);
         
        $item = new \Kendo\UI\TabStripItem();
        $item->text("Tab 3 with long text")
                 ->startContent();
         
        echo '<p>Integer facilisis, justo cursus venenatis vehicula, massa nisl tempor sem, in ullamcorper neque mauris in orci.</p>';
         
        $item->endContent();
        $tabstrip->addItem($item);
         
        $item = new \Kendo\UI\TabStripItem();
        $item->text("Tab 4 with long text")
                 ->startContent();
         
        echo '<p>Ut orci ligula, varius ac consequat in, rhoncus in dolor. Mauris pulvinar molestie accumsan. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae.</p>';
         
        $item->endContent();
        $tabstrip->addItem($item);
        echo $tabstrip->render();
         
        echo '</div>';
        ?>
    </body>
</html>

tjarvas
Top achievements
Rank 1
 answered on 21 Sep 2015
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?