I have a grid which has two columns ,when i click on the first column content i want it to show me a message box,but the problem is when i click on the message box,it does not go away compeltly,the nmessage box shadow is still there ,what im doing is:
$("#gridProAvail").kendoTooltip({
filter: "td",
content: toolTip,
width: 400,
height: 100,
position: "top"
});
$("#gridProAvail").click(toolTip);
function toolTip(e) {
var target = $(e.target);
if(e.target[0].cellIndex == 0) {
var cellInfo = e.target[0].innerHTML;
alert(cellInfo);
grid.dataSource.read();
}
i need the content to be shown in the tool tip

I've bound data sources to grids and dropdownlist widgets but I haven't seen many examples or binding the data in a datasource to simple multiple labels or textboxes on a page load (in MVVM preferably). I can bind it to a simple variable defined in the observable objects but how can I bind it to a datasource value like an array of objects?
<script id="index" type="text/x-kendo-template">
<span data-bind="text: someTextValue"></span>
<span data-bind="text: someTextValue2"></span>
</script>
var viewModelIndex = kendo.observable({
someTextValue: '12345',
someTextValue2: '12345',
fruits: new kendo.data.DataSource({
data: [
{ id: 1, name: "Apples" },
{ id: 2, name: "Oranges" },
{ id: 3, name: "Bananas" }
],
schema: {
model: {
fields: {
id: { type: "number" },
name: { type: "string" }
}
}
}
}),
});
.
I am trying to use numeric textbox inside treeview template. When I try to focus the textbox, it doesn't focuses and lost the focus. Since I wasn't able to change the values. I tried using mvvm binding from html and its not working either.
P.S I had to use numerictextbox because of the formatting reasons. Below is the sample url i have tried,
https://dojo.telerik.com/@paulrajj/OmOdilij/2
Kindly let me know if there is any solutions to fix this.

I manage to make anything work with the , where ever I try to use one, grid or .
my code is:
thanks for the assistance
var customersData = new kendo.data.DataSource({
dataSource: {
type: "odata",
transport: {
read: {
url: SCH.webapp_api + '/scheduler/customers/data',
dataType: "json",
type: "GET",
cache: false,
},
schema: {
model: {
fields: {
id: { type: "number" },
name: { type: "string" },
company: { type: "string" },
}
}
}
},
autoSync: true,
serverFiltering: true,
}
});
$("#customers").kendoDropDownList({
optionLabel: "Choose a customer",
filter: "contains",
dataTextField: "name",
dataValueField: "id",
dataSource: customersData,
index: 0
});

Is it possible to initialize a grid from an table with hierarchy inside?
thanks

Hi.
What is the preferred way of hiding/showing kendo controls in Angular? There are some options:
- ng-show
- ng-if
- k-visible
Beside the obvious difference between the first two, what are the complications of hiding/removing a wrapper DOM element as opposed to using k-visible. Are there any differences in performance, memory usage, etc. to be aware of?
Cheers,
JH
Hi,
I'm using Node.js configured with DataSource. All was working fine. We switched from mysql to Postgres and now the Grids don't populate with the returned data. Before pasting tons of code here, checking if I missed something obvious:
I added the following change event function to the transport, and in the Chrome debugger I see the expected rows are returned in the results. What I don't know if the data object stores the rows in some new or unexpected way. There's an element called "0" with child array called "rows" which has the correct number of rows, populated with the correct data and elements named correctly. I also checked the element names throughout and they match.
Any tips on how to debug whether the grid is receiving the update?
change: function(e) { var data = this.data(); console.log(data);}We need to get rid of Hibernate (change it to JDBC-driver).
We use basic usage of TreeList (from springs-demos) and have some problems with uploading our database in TreeList.
Wу think it is because of this fynction:
@Override
public List<TObjectType2> getList() {
Connection connection = cn.getConnection();
List<TObjectType2> result = new ArrayList<TObjectType2>();
try {
Statement statement = connection.createStatement();
ResultSet resultSet = statement.executeQuery("SELECT * FROM \"ID_OBJECT_TYPE_2\"");
while (resultSet.next()) {
TObjectType2 to = new TObjectType2();
to.setIdObjectType(resultSet.getString("ID_OBJECT_TYPE"));
to.setDescription(resultSet.getString("DESCRIPTION"));
to.setObject1C(resultSet.getString("OBJECT_1C"));
result.add(to);
}
return result;
} catch (SQLException e) {
e.printStackTrace();
return null;
}
}
Because with hibernate it is like this:
@Override
public List<EmployeeDirectory> getList() {
return sessionFactory.getCurrentSession().createCriteria(EmployeeDirectory.class).list();
}
In the web it we can see, that there are 5 items (that's true!), but "No records to display"
http://skrinshoter.ru/s/270319/pTQKFDXl