⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠

Using setTexteditor in a Multiple Grid returns TypeError


  • Please log in to reply
4 replies to this topic

#1 prbdcw



  • Members
  • Pip
  • 2 posts

Posted 04 May 2018 - 06:05 AM

I'm trying to use $crud->setTexteditor(['message']) as part of a Multiple Grid and receiving the following error when selecting the Add or Edit button for that table: 
Uncaught TypeError: 
$selector.ckeditor is not a function
    at Object.texteditor (jquery-plugins.js:32)
    at RichTexteditorWithPlugin.componentDidMount (rich-texteditor-with-plugin.js:28)
    at commitLifeCycles (react.v16.2.0.js:10997)
    at commitAllLifeCycles (react.v16.2.0.js:12173)
    at HTMLUnknownElement.callCallback (react.v16.2.0.js:2265)
    at Object.invokeGuardedCallbackDev (react.v16.2.0.js:2304)
    at invokeGuardedCallback (react.v16.2.0.js:2161)
    at commitRoot (react.v16.2.0.js:12277)
    at performWorkOnRoot (react.v16.2.0.js:13244)
    at performWork (react.v16.2.0.js:13194)

texteditor: function texteditor($selector) {
It's worth noting, that I'm able to successfully render setTexteditor() if its not within a multiple grid.
Can someone please advise how to use setTexteditor() as part of Multiple Grid.

#2 flowerbed333



  • Members
  • Pip
  • 5 posts

Posted 13 May 2018 - 09:17 AM

I have the same issue. Probably a side effect of multigrid use

#3 drinkingwine



  • Members
  • PipPip
  • 18 posts

Posted 06 January 2020 - 07:07 PM

Has this ever been resolved? I have the same issue.

#4 larasmith


    Advanced Member

  • Members
  • PipPipPip
  • 199 posts

Posted 08 January 2020 - 12:50 AM

Hi everyone!


I haven't tried using a multiple grid in my projects.

What projects are you working on that requires such?




#5 drinkingwine



  • Members
  • PipPip
  • 18 posts

Posted 08 January 2020 - 09:47 PM

My project has a client list. I added, to "more" a selection called "charts." In charts I display 3 grids. "Notes", "Clinical", and "Process." 

These three grids work fine. The problem is with settexteditor function. 


Uncaught TypeError: 
.ckeditor is not a function

Also tagged with one or more of these keywords: setTexteditor

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users