@dusrkdldlr
@dusrkdldlr
Forum Replies Created
-
AuthorPosts
-
February 4, 2021 at 2:27 am in reply to: how to get column value on mount state(not composition API) #101431dusrkdldlrMember
hello I use vue, and column value mean cell value…
dusrkdldlrMemberhow to use grid.pager.template?
dusrkdldlrMemberthank you!!!!! it work!!
but.. followed “Uncaught TypeError: Cannot read property ‘disabled’ of undefined” error.
Button inside the column was clicked
smart.grid.js:8 Uncaught TypeError: Cannot read property ‘disabled’ of undefined
at HTMLElement.get [as disabled] (smart.grid.js:8)
at HTMLDocument.handlers (jquery-1.11.3.min.js?1205103440:4)
at HTMLDocument.dispatch (jquery-1.11.3.min.js?1205103440:4)
at HTMLDocument.r.handle (jquery-1.11.3.min.js?1205103440:4)
get @ smart.grid.js:8
handlers @ jquery-1.11.3.min.js?1205103440:4
dispatch @ jquery-1.11.3.min.js?1205103440:4
r.handle @ jquery-1.11.3.min.js?1205103440:4
Button inside the column was clicked
smart.grid.js:8 Uncaught TypeError: Cannot read property ‘disabled’ of undefined
at HTMLElement.get [as disabled] (smart.grid.js:8)
at HTMLDocument.handlers (jquery-1.11.3.min.js?1205103440:4)
at HTMLDocument.dispatch (jquery-1.11.3.min.js?1205103440:4)
at HTMLDocument.r.handle (jquery-1.11.3.min.js?1205103440:4)dusrkdldlrMemberActually I’m not using the composition API. I’m using window.Smart on mounted. Could it be related?
dusrkdldlrMemberconst notesTemplate = document.createElement(“template”);
notesTemplate.id = “notesTemplate”;
notesTemplate.innerHTML = `<button
data-id=”{{id}}”
onclick=”alert(‘{{value}}’);”
class=”template-button”
style=”width: 100%; height: 100%; overflow:hidden; text-overflow: ellipsis;”
>Details</button>`;
document.body.appendChild(notesTemplate);
and I can’t run this example eitherdusrkdldlrMembertemplate: ‘<button onclick=”YourFunction()”> Click me</button>
it work. and I added on YourFunction() in method. but it was returned this error
Uncaught ReferenceError: YourFunction is not defined
at HTMLButtonElement.onclick (cswitch_port_list.do:1)dusrkdldlrMemberI was solve it used template
dusrkdldlrMemberI met same error.
When I click my row, return this error.
Uncaught TypeError: Cannot read property ‘disabled’ of undefined
at HTMLElement.get [as disabled] (smart.grid.js:8)
at HTMLDocument.handlers (jquery-1.11.3.min.js?1032184503:4)
at HTMLDocument.dispatch (jquery-1.11.3.min.js?1032184503:4)
at HTMLDocument.r.handle (jquery-1.11.3.min.js?1032184503:4)
get @ smart.grid.js:8
handlers @ jquery-1.11.3.min.js?1032184503:4
dispatch @ jquery-1.11.3.min.js?1032184503:4
r.handle @ jquery-1.11.3.min.js?1032184503:4dusrkdldlrMemberCan I see an example?
dusrkdldlrMemberthank you for answer! Yavor Dashev
What kind of values are in cellsformat?
What does c2 mean?January 20, 2021 at 1:43 am in reply to: Can i use smart UI without using single file components? #101335dusrkdldlrMemberoh, sorry ..
there was a typo.. haha
it work!! -
AuthorPosts