@tullio0106live-it
@tullio0106live-it
Forum Replies Created
- 
		AuthorPosts
- 
		
			
				
tullio0106@live.it ParticipantUnfortunately it doesn’t seem to be solved. I still set the date format to dd/MM/yyyy and set the value to 01/06/1954 (I mean first of june) but it’s represented as 06/01/1954 (six of january) and when the date picker opens it’s still on 6 january. Tks tullio0106@live.it ParticipantNo further help ? tullio0106@live.it ParticipantNo further help ? tullio0106@live.it ParticipantSorry but I dont understand the point. the file, named beverages.json shoult contain : [{ 
 “C1”: “1”,
 “C2”: “Hot Chocolate”,
 “C4”: “SEAVISION”,
 “C6”: “01/06/1954”,
 “C5”: “true”,
 “C3”: “14g”
 }]as indicated before . Using theese data, I tested it again, I see the grid with a row of data as expected. Tks tullio0106@live.it ParticipantSorry but I don’t understand. the provided data are : [{ 
 “C1”: “1”,
 “C2”: “Hot Chocolate”,
 “C4”: “SEAVISION”,
 “C6”: “01/06/1954”,
 “C5”: “true”,
 “C3”: “14g”
 }]where C2 field is included as well as C6 (the date) in the european format dd/MM/yyyy, as stated by definition. What’s wrong ? Tks tullio0106@live.it ParticipantMay be you looked to a wrong codpen address This is the html content <!DOCTYPE html> 
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>Grid Cell Editing Confirm Dialog Demo</title>
 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
 <link rel="stylesheet" type="text/css" href="../../../source/styles/smart.default.css" />
 <link rel="stylesheet" type="text/css" href="../../../styles/demos.css" />
 <link rel="stylesheet" type="text/css" href="styles.css" />
 <script src="../../../../common/data.js"></script>
 </head>
 <body class="viewport">
 <div class="demo-description">
 <h1>Grid Cells Editing Confirm Tullio</h1>
 We implement the 'onCellUpdate' Grid function. When a cell value is edited, 'onCellUpdate' is called. That callback can be used for Client-Server validation of the Cell Editing. The function is implemented for the 'Quantity' column and we simulate Ajax call to a Web Server by using setTimeout and
 confirm the changes by calling the 4th argument of 'onCellUpdate', which is a function. When we call it with 'true', changes are confirmed. Otherwise, they are canceled. In this example, when the 'Quantity' is > 10, changes are confirmed.
 </div>
 <smart-grid id="grid"></smart-grid><!-- scripts --> 
 <script src="../../../common/data.js"></script>
 <script type="module" src="../../../source/modules/smart.grid.js">
 </script>
 <script type="module" src="../../../source/modules/smart.button.js">
 </script>
 <script type="module" src="index.js">
 </script>
 </body>
 </html>and the grid is there. Tks tullio0106@live.it ParticipantMay be you looked to a wrong codpen address This is the html content <!DOCTYPE html> 
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>Grid Cell Editing Confirm Dialog Demo</title>
 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
 <link rel="stylesheet" type="text/css" href="../../../source/styles/smart.default.css" />
 <link rel="stylesheet" type="text/css" href="../../../styles/demos.css" />
 <link rel="stylesheet" type="text/css" href="styles.css" />
 <script src="../../../../common/data.js"></script>
 </head>
 <body class="viewport">
 <div class="demo-description">
 <h1>Grid Cells Editing Confirm Tullio</h1>
 We implement the 'onCellUpdate' Grid function. When a cell value is edited, 'onCellUpdate' is called. That callback can be used for Client-Server validation of the Cell Editing. The function is implemented for the 'Quantity' column and we simulate Ajax call to a Web Server by using setTimeout and
 confirm the changes by calling the 4th argument of 'onCellUpdate', which is a function. When we call it with 'true', changes are confirmed. Otherwise, they are canceled. In this example, when the 'Quantity' is > 10, changes are confirmed.
 </div>
 <smart-grid id="grid"></smart-grid><!-- scripts --> 
 <script src="../../../common/data.js"></script>
 <script type="module" src="../../../source/modules/smart.grid.js">
 </script>
 <script type="module" src="../../../source/modules/smart.button.js">
 </script>
 <script type="module" src="index.js">
 </script>
 </body>
 </html>and the grid is there. Tks tullio0106@live.it ParticipantNobody can help about this topic ? Tks tullio0106@live.it ParticipantNobody can help about this topic ? Tks tullio0106@live.it ParticipantHere the codpen link : https://codepen.io/tullio0106/pen/JjOebye This is the beverage.json data I used [{ 
 “C1”: “1”,
 “C2”: “Hot Chocolate”,
 “C4”: “SEAVISION”,
 “C6”: “01/06/1954”,
 “C5”: “true”,
 “C3”: “14g”
 }]Tks P.S. : is the same of the other post - 
		This reply was modified 3 years, 8 months ago by tullio0106@live.it. 
 tullio0106@live.it ParticipantHere the codpen link : https://codepen.io/tullio0106/pen/JjOebye This is the beverage.json data I used [{ 
 “C1”: “1”,
 “C2”: “Hot Chocolate”,
 “C4”: “SEAVISION”,
 “C6”: “01/06/1954”,
 “C5”: “true”,
 “C3”: “14g”
 }]Tks tullio0106@live.it ParticipantThe topic is reproduced by an example. How can I upload it to you ? Tks tullio0106@live.it ParticipantThe topic is reproduced by an example. How can I upload it to you ? Tks tullio0106@live.it ParticipantAs a further information my PC language setting is italian. As well for the server (same machine). Tks tullio0106@live.it ParticipantSolved. Tks 
- 
		This reply was modified 3 years, 8 months ago by 
- 
		AuthorPosts