TuanHoang Posted October 9, 2017 Share Posted October 9, 2017 Hello. What is #1 mean in self.JSInterface.JSCode('var me='#1'; me.setValue(me.getStore().getAt(0));'); Is #1 the same as Ext.getCmd( self.JSName) ? Thank you very much. Tuan Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 9, 2017 Share Posted October 9, 2017 Hi #1 stands for JSName Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 9, 2017 Administrators Share Posted October 9, 2017 Hello. What is #1 mean in self.JSInterface.JSCode('var me='#1'; me.setValue(me.getStore().getAt(0));'); Is #1 the same as Ext.getCmd( self.JSName) ? Thank you very much. Tuan Where does above code come from? Quote Link to comment Share on other sites More sharing options...
TuanHoang Posted October 12, 2017 Author Share Posted October 12, 2017 Where does above code come from? I am trying to set dbcombobox select first item. Quote Link to comment Share on other sites More sharing options...
mhmda Posted October 12, 2017 Share Posted October 12, 2017 Why don't you use server side for that. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 12, 2017 Administrators Share Posted October 12, 2017 I am trying to set dbcombobox select first item. I mean where did you see in uniGUI the original code you posted above? Quote Link to comment Share on other sites More sharing options...
TuanHoang Posted October 12, 2017 Author Share Posted October 12, 2017 I mean where did you see in uniGUI the original code you posted above? #1 From you at : http://forums.unigui.com/index.php?/topic/9013-color-one-item-in-tuniradiogroup/ Quote Link to comment Share on other sites More sharing options...
TuanHoang Posted October 12, 2017 Author Share Posted October 12, 2017 I mean where did you see in uniGUI the original code you posted above? #1 From you at : http://forums.unigui.com/index.php?/topic/9013-color-one-item-in-tuniradiogroup/ Quote Link to comment Share on other sites More sharing options...
TuanHoang Posted October 16, 2017 Author Share Posted October 16, 2017 Why don't you use server side for that. Thank you very much, ComboBox.ItemIndex := 0 is working. Tuan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.