File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 247
247
}
248
248
249
249
/* UDF Editor - CodeMirror */
250
+ .vp-fr-subset-box {
251
+ width : 300px ;
252
+ }
250
253
.vp-fr-subset-box .CodeMirror {
251
254
display : inline-block;
252
255
width : calc (100% - 55px );
Original file line number Diff line number Diff line change @@ -808,8 +808,10 @@ define([
808
808
type : 'readonly'
809
809
} ) ;
810
810
// set subset
811
+ let contentState = that . getPopupContent ( type ) ;
811
812
this . subsetEditor = new Subset ( {
812
813
pandasObject : this . state . tempObj ,
814
+ selectedColumns : [ com_util . convertToStr ( contentState . name , contentState . nameastext ) ] ,
813
815
config : { name : 'Subset' } } ,
814
816
{
815
817
useInputVariable : true ,
@@ -861,6 +863,7 @@ define([
861
863
// set subset
862
864
this . subsetEditor = new Subset ( {
863
865
pandasObject : this . state . tempObj ,
866
+ selectedColumns : that . state . selected . map ( col => col . code ) ,
864
867
config : { name : 'Subset' } } ,
865
868
{
866
869
useInputVariable : true ,
You can’t perform that action at this time.
0 commit comments