@tbettinazziaxioma-it
@tbettinazziaxioma-it
Forum Replies Created
-
AuthorPosts
-
tbettinazzi@axioma.it
ParticipantThe difference seems to be in the smart-window.
The code is the same but in Your example is 450×480 in my implementation seems to be 1450×480.
I tried to set the window size but it’s ignored.
Tks
tbettinazzi@axioma.it
ParticipantAnyway it doesn’t seem to work (smartelements 20).
It still remains in the upperside left corner.
My html
<div><!DOCTYPE html></div>
<div><html xmlns=”http://www.w3.org/1999/xhtml”></div>
<div><head></div>
<div> <title>Progress Bar Overview</title></div>
<div></div>
<div> <meta charset=”utf-8″ /></div>
<div> <meta http-equiv=”X-UA-Compatible” content=”IE=edge” /></div>
<div> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /></div>
<div> <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0″ /></div>
<div></div>
<div> <link rel=”stylesheet” type=”text/css” href=”../../../source/styles/smart.default.css” /></div>
<div> <link rel=”stylesheet” type=”text/css” href=”../../styles/demos.css” /></div>
<div> <link rel=”stylesheet” type=”text/css” href=”styles.css” /></div>
<div></div>
<div></head></div>
<div><body class=”viewport”></div>
<div><smart-window opened></div>
<div> <div class=”centered”></div>
<div> <smart-circular-progress-bar id=”progressbar3″ indeterminate></smart-circular-progress-bar></div>
<div> </div></div>
<div></smart-window></div>
<div> <!– scripts –></div>
<div> <script src=”../../../source/modules/smart.progressbar.js”></script></div>
<div> <script src=”index.js”></script></div>
<div></div>
<div></body></div>
<div></html></div>
<div></div>
<div>My css</div>
<div></div>
<div>
.centered {
display: flex;
align-items: center;
height: 100%;
}</div>
<div></div>
<div>Tks</div>tbettinazzi@axioma.it
ParticipantAnd have a transparent background ?
Tks
tbettinazzi@axioma.it
ParticipantTks.
How can I reduce the radius of the circle ?
Tullio
tbettinazzi@axioma.it
ParticipantI’ve a License Type: Developer License + Premium Support.
I don’t know if I’m entitled to request the custom support hot fix.
Tks
tbettinazzi@axioma.it
ParticipantShould I wait a new release in order to see solved that issue ?
It’s quite urgent.
Tks
tbettinazzi@axioma.it
ParticipantYes, I did but the answer was : we are working on it.
After 5 days I hoped in a solution.
Tks
tbettinazzi@axioma.it
ParticipantAny new about this issue ?
Did You find the problem ?
Tks
tbettinazzi@axioma.it
ParticipantI sent the testcase.
Tks
tbettinazzi@axioma.it
ParticipantTks.
Just for my better understanding why did You use a timeout event to trigger the operation ?
tbettinazzi@axioma.it
Participant========== styles.css ===============
smart-grid {
width: 100%;
height: auto;
}
smart-menu {
height: auto !important;
}
body {
height: 1000px;
}I wasn’t able to add a readable html file
-
This reply was modified 1 year, 1 month ago by
tbettinazzi@axioma.it.
tbettinazzi@axioma.it
ParticipantIt seems to be valid only for float and not for integers.
Tks
tbettinazzi@axioma.it
ParticipantTks for your help but I wasn’t able to apply it.
I tried
document.querySelector(‘#e18042434’).input.setAttribute(‘maxlength’, 4) but also
document.querySelector(‘#e18042434 input’).setAttribute(‘maxlength’, 4)
I can use only the id of the smart-numeric-text-box because I’ve many in the same page with different lengths.
Could You suggest the correct expression ?
Tks
-
This reply was modified 1 year, 1 month ago by
tbettinazzi@axioma.it.
tbettinazzi@axioma.it
ParticipantNo further help ?
Tks
tbettinazzi@axioma.it
ParticipantI’m waiting for the renewal of the support (it was approuved for the next year budget).
Looking a little deeper I saw the editEnd event is executed, in effect, but only after the onClick of the button : if I submit the form in onClick of the button data are sent incorrectly because editEnd was not still fired.
In small testcase I prepared You’ll see in simplest way I found the onClick is fired before the editEnd.
I simply modified the grid/cell-editing example adding a little code as You can see below.
Could You help me to solve that issue ?
Tks
<div><!DOCTYPE html></div>
<div><html xmlns=”http://www.w3.org/1999/xhtml”></div>
<div><head></div>
<div> <title>Grid Cell Editing Demo</title></div>
<div> <meta http-equiv=”X-UA-Compatible” content=”IE=edge” /></div>
<div> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /></div>
<div> <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0″ /></div>
<div> <link rel=”stylesheet” type=”text/css” href=”../../../source/styles/smart.default.css” /></div>
<div> <link rel=”stylesheet” type=”text/css” href=”../../styles/demos.css” /></div>
<div> <link rel=”stylesheet” type=”text/css” href=”styles.css” /></div>
<div></div>
<div></head></div>
<div><body class=”viewport” onload=”carrelloInit()”></div>
<div> <script></div>
<div>function carrelloInit() {</div>
<div>const grid = document.getElementById(‘grid’);</div>
<div> console.log(“Fatto 1”);</div>
<div> grid.addEventListener(‘endEdit’, function (event) {</div>
<div> const detail = event.detail,</div>
<div> id = detail.id,</div>
<div> dataField = detail.dataField,</div>
<div> row = detail.row,</div>
<div> column = detail.column,</div>
<div> cell = detail.cell,</div>
<div> data = detail.data,</div>
<div> value = detail.value;</div>
<div> console.log(“Modified ” + dataField + ” / ” + id + ” / ” + value);</div>
<div>});</div>
<div>}</div>
<div>function confermaCarrello() {</div>
<div> console.log(“Carrello confermato”)</div>
<div>}</div>
<div></script></div>
<div><div class=”demo-description”></div>
<div><h1>Grid Cells Editing</h1></div>
<div>Click on any cell to begin edit its value. To confirm the changes, press ‘Enter’ or click on another cell or outside the Grid. To cancel the changes, press ‘Escape’.</div>
<div></div></div>
<div> <smart-grid id=”grid”></smart-grid></div>
<div> <button id=”b1001105″ class=”cfg-button cfg-button-floating” type=”button” role=”button” onclick=”confermaCarrello();”><span class=”cfg-button-text”>Annulla</span></button></div>
<div> <!– scripts –></div>
<div><script src=”../../../common/data.js”></script></div>
<div> <script src=”../../../source/modules/smart.grid.js”></script></div>
<div><script src=”../../../source/modules/smart.button.js”></script></div>
<div><script src=”index.js”></script></div>
<div></body></div>
<div></html></div>
-
This reply was modified 1 year, 1 month ago by
-
AuthorPosts