I need to find a parent to select the node in the tree, however whenever I use ParentNode it always appears as "undefined" (and I do not select the root). Does anyone know a good way to find the parent node?
thank
Maybe you should try parentNode, not ParentNode. JS is case sensitive.
You can use the code below:
let parentNode = Ext.getCmp('YourGridId').getRootNode();
Source: https://habr.com/ru/post/1764929/More articles:Cookie attachment in WebView not working - javaGetting the current Windows input language and notifications when the language changes - cEmbed ArrayList in Android SQLite Database? - androidOpen Source Testing Application for Flex Application Using AMF and BlazeDS - flexmoving a path with a repeating bitmap image in android - androidКак удалить строку в таблице соединений автоматически, чтобы избежать исключения ConstraintViolationException? - javaWhy does the function return the value of a local JSON variable instead of a global one? - jsonВизуализация Google (PieChart/LineChart) Проблема JQuery Ajax Firefox - jquerymysql query ГДЕ в одной таблице, но не в другой - sqlUsing the global vertex cache and still use glRotate? - androidAll Articles