This is a migrated thread and some comments may be shown as answers.

Insert and edit data with kendo mobile

5 Answers 103 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mariyana
Top achievements
Rank 1
Mariyana asked on 01 Feb 2013, 02:06 PM
Здравейте,

Ползвайки Kendo mobile  се опитвам да направя форма с данни за потребител, която да съхранява информацията в локална база данни на устройството. 
Тъй като от съвсем скоро се занимавам с това, документацията не ми е достатъчна. Успях да създам базичката и някак добавих нещо като форма за въвеждане, редактиране и изтриване, но с помощта на kendo web, и когато добавя скрипта за mobile  всичко гърми. Знам, че двете са отделно съответно с различен съпорт. Има ли начин в който да мога да мога да редактирам и въвеждам данни с KendoMobileListView?


Поздрави,
Марияна



5 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 04 Feb 2013, 11:41 AM
Hi Mariyana,

The mobile listview widget does not have a built-in feature for CRUD operations, currently - it is up to the developer to implement those parts of the application according to the specific project requirements. 

You may look through this CRUD example as a starting point and a CRUD reference implementation.

On a side note, I would like to ask you to use English when posting forum threads - in this way, there is a better chance to be understood from the rest of the community.

Thank you,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mariyana
Top achievements
Rank 1
answered on 08 Feb 2013, 02:32 PM
Hello,

 I have used your CRUD example and i made it work with HTML5 and SQLite Database for my goals.The problem is the data do not go into my base and i can not understand why?

You can see example here :http://jsbin.com/izetez/1/edit. 
Could you please check it out? I hope you can tell me if i do something the wrong way?


Thank you!
Best Regards,
Mariyana
0
Petyo
Telerik team
answered on 12 Feb 2013, 09:28 AM
Hello Mariyana,

The provided information is not sufficient enough for me to understand the problem you refer to. Is it possible for you to provide a step by step description on how to reproduce it on our side (including browser/version/OS if relevant)? 

On a side note, I would like to notice that if you need project specific implementation assistance and training, which extends beyond our products functionality and includes general web development/programming concepts, you may consider contacting our premium services

Regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mariyana
Top achievements
Rank 1
answered on 12 Feb 2013, 12:22 PM
Hi Petyo,

Actually I have found a solution of my problem. The mistake was that I have added ID to the created function, which was not necessary. So now I have data, which is in my base, and I can insert, edit, delete - all is fine :)

 But now I have another challenge. I have observable object with datasource and defined CRUD operations, model with fields from database and some functions, which I am using. If I would like to create more than one table and make query, which can use the data from these tables at the same time, is this mean that I must have the same count observable object like my tables? Is there an easier way to do it?  

I would like to make a note, that during my research about the theme, I have found and another people with same or similar problem. So I am sure that your concrete explanation will be useful not only for me but for the community at all.

Thank you,
Mariyana
0
Petyo
Telerik team
answered on 14 Feb 2013, 07:13 AM
Hi,

The DataSource component does not interact (nor is aware of) the database structure, queries or fields - its only purpose is to provide abstraction over web services via various protocols (REST, oData, etc.). It is up to the developer to implement the web services and the persistence layer logic. 

For detailed information regarding the DataSource component, please refer to our documentation site and demos

If the problem discussed in the first post is resolved, you may consider opening separate threads/tickets should you have any further questions. 

Thank you in advance,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Mariyana
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Mariyana
Top achievements
Rank 1
Share this question
or