File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 247247}
248248
249249/* UDF Editor - CodeMirror */
250+ .vp-fr-subset-box {
251+ width : 300px ;
252+ }
250253.vp-fr-subset-box .CodeMirror {
251254 display : inline-block;
252255 width : calc (100% - 55px );
Original file line number Diff line number Diff line change @@ -808,8 +808,10 @@ define([
808808 type : 'readonly'
809809 } ) ;
810810 // set subset
811+ let contentState = that . getPopupContent ( type ) ;
811812 this . subsetEditor = new Subset ( {
812813 pandasObject : this . state . tempObj ,
814+ selectedColumns : [ com_util . convertToStr ( contentState . name , contentState . nameastext ) ] ,
813815 config : { name : 'Subset' } } ,
814816 {
815817 useInputVariable : true ,
@@ -861,6 +863,7 @@ define([
861863 // set subset
862864 this . subsetEditor = new Subset ( {
863865 pandasObject : this . state . tempObj ,
866+ selectedColumns : that . state . selected . map ( col => col . code ) ,
864867 config : { name : 'Subset' } } ,
865868 {
866869 useInputVariable : true ,
You can’t perform that action at this time.
0 commit comments