ÏÄÄ¿¤¿¤«¤· ·¢±íÓÚ 2018-9-18 17:03:26

FarPoint.Web.Spread.FpSpreadʼþ´¥·¢»úÖÆ

Ä¿Ç°ÏÖÔÚÊÇÕâÑùµÄÒ»¸öÇé¿ö£¬ÔÚASPµÄSpreadºǫ́ÎÒÃÇÉèÖÃÁËCellClickʼþ£¬µ«ÊÇÔËÐÐÆðÀ´ÒÔºó²¢Ã»Óд¥·¢ÕâÀïÃæµÄ´úÂ롣֮ǰ¶¼ÊÇ×öSpread for WinForm,¸Ð¾õʼþÉÏASPµÄSpreadÓе㲻´óÒ»Ñù¡£ÏëÎÊÒ»ÏÂÓÐûÓÐÕâ·½ÃæÏà¹ØµÄ×ÊÁÏ£¬Í¬Ê±ÏëÇë½ÌÒ»ÏÂÔËÐÐÒÔºóµã»÷ÍøÒ³ÉÏSpreadµÄµ¥Ôª¸ñûÓд¥·¢CellClickµÄÔ­Òò

dexteryao ·¢±íÓÚ 2018-9-19 09:16:40

FpSpread1.ActiveSheetView.AutoPostBack = true;
ÐèÒªÉèÖÃAutoPostBack¡£
Õâ¸öÊÇaspnetµÄ»úÖÆ£¬Èç¹ûÒª·þÎñ¶ËÏìÓ¦£¬¾ÍÐèÒªpostbackÊý¾Ý»ØÈ¥£¬ÕâÑùÓû§Ã¿´Îµã»÷¶¼Òªpostback¡£

ÏÄÄ¿¤¿¤«¤· ·¢±íÓÚ 2018-9-20 15:55:05

dexteryao ·¢±íÓÚ 2018-9-19 09:16
FpSpread1.ActiveSheetView.AutoPostBack = true;
ÐèÒªÉèÖÃAutoPostBack¡£
Õâ¸öÊÇaspnetµÄ»úÖÆ£¬Èç¹ûÒª·þ ...

ÉèÖÃÁËAutoPostBackÒÔºó£¬Ê¼þÏìÓ¦ÊÇÏìÓ¦ÁË£¬µ«ÊÇÎÒÁÙʱ¸Ä¶¯ÔÚSpreadÉϵĶ«Î÷£¬ºÃÏñÒ²±»Ë¢ÐµôÁË£¬ÇëÎÊÈçºÎÔÚ±£´æÁÙʱÊý¾ÝµÄͬʱÈÃʼþÏìÓ¦£¿»¹ÓÐ֮ǰWINFORMÀïÓкܶà¼ì²éÊÇÔÚSpreadµÄLeaveCellʼþÖеĴ¦Àí£¬ÏÖÔÚÔÚASPNETºÃÏñûÓÐÕÒµ½LeaveCell,Õâ¸öʼþ£¬ÔÚASPNETÀïÎÒÓ¦¸ÃÔõôʵÏÖÄØ£¿

dexteryao ·¢±íÓÚ 2018-9-20 16:12:59

û°ì·¨£¬Èç¹ûAutoPostBackºÜ¶àÐÐΪ¶¼²»Ò»ÑùÁË£¬±ÈÈç²»ÄܶàÑ¡µ¥Ôª¸ñ¡£
»òÕßÄãÓÃÇ°¶Ëʱ¼ä£¬Í¨¹ýÇ°¶Ëupdate·½·¨postÊý¾Ý»Ø·þÎñ¶Ë¡£
http://help.grapecity.com/spread/SpreadNet11/ASP2/webframe.html#CSSR-cellclicked.html

ÏÄÄ¿¤¿¤«¤· ·¢±íÓÚ 2018-9-20 16:22:13

dexteryao ·¢±íÓÚ 2018-9-20 16:12
û°ì·¨£¬Èç¹ûAutoPostBackºÜ¶àÐÐΪ¶¼²»Ò»ÑùÁË£¬±ÈÈç²»ÄܶàÑ¡µ¥Ôª¸ñ¡£
»òÕßÄãÓÃÇ°¶Ëʱ¼ä£¬Í¨¹ýÇ°¶Ëupdate·½ ...

ÄÇÀàËÆWinformµÄLeaveCellÕâÖÖʼþÒ²ÊÇÎÞ·¨²¶×½µ½ÁË£¿

dexteryao ·¢±íÓÚ 2018-9-20 16:44:30

http://help.grapecity.com/spread/SpreadNet11/ASP2/webframe.html#clientscript-allevents.html
àÅ£¬Ã»ÓÐÁË£¬Èç¹ûÄúÃÇÇ°¶ËÒµÎñ±È½Ï¸´ÔÓ£¬½¨Ò黹ÊÇÓà Spread.SheetsºÃ

ÏÄÄ¿¤¿¤«¤· ·¢±íÓÚ 2018-9-20 17:23:02

dexteryao ·¢±íÓÚ 2018-9-20 16:44
http://help.grapecity.com/spread/SpreadNet11/ASP2/webframe.html#clientscript-allevents.html
àÅ£¬Ã» ...

ÓÃSpread.SheetsÊÇʲôÒâ˼£¿ÏÖÔÚ»¹ÓÐÒ»¸öÎÊÌ⣬ÎÒ´Óºǫ́ȥ»ñÈ¡ËûActiveRowºÍCol£¬µ«ÊÇÎÒµãµÄÊÇÒ»¸öCheckBoxµÄ¿Õ¼ä£¬ÎÒµãÁ˵¥Ñ¡¿òµ«Êǽ¹µãûÓÐÒƶ¯¹ýÀ´£¬ÎÒÔõôÔÚ³ÌÐòÖлñÈ¡ÎÒµãµÄµ¥Ñ¡¿òËùÔÚµ¥Ôª¸ñÐÅÏ¢ÄØ£¿

ÏÄÄ¿¤¿¤«¤· ·¢±íÓÚ 2018-9-20 18:17:06

         var spread = this.document.getElementById("FpSpread1");
            //»ñÈ¡µã»÷ÐÐÁÐÐÅÏ¢
            var activeRow = spread.GetActiveRow();
            var activeCol = spread.GetActiveCol();


ÔÚǰ̨ÎÒ¶ÔspreadÕâ¸ö¶ÔÏóµã²»³öGetActiveRow()º¯Êý£¬µ«Êµ¼Ê´òÁË»¹ÊÇÓÐÓõģ¬»¹ÓÐûÓÐÕâÑùÀàËƵÄÊôÐÔ£¿ÄÜ·ñ¸øÒ»·ÝÏà¹ØµÄ×ÊÁÏ£¿

ÏÄÄ¿¤¿¤«¤· ·¢±íÓÚ 2018-9-21 12:34:58

»¹ÓйØÓÚWinformÏÂinput mapÉèÖõģ¬±ÈÈç°´Ï»سµ¼ü¹â±ê×Ô¶¯Ìøתµ½ÏÂÒ»¸öµ¥Ôª¸ñ£¬ÕâһϵÁпì½Ý¼üµÄ¹¦ÄܵÃÔõôʵÏÖ£¬Óзâ×°µÄ¶ÔÏóÂð

dexteryao ·¢±íÓÚ 2018-9-21 17:44:21

aspnet µÄkeymapÔÚÇ°¶Ëhttp://help.grapecity.com/spread ... CSSR-AddKeyMap.html

Ç°¶ËËùÓз½·¨
http://help.grapecity.com/spread ... cript-allmeths.html

Spread.SheetsÊÇ£º
https://www.grapecity.com.cn/developer/spreadjs
Ò³: [1]
²é¿´ÍêÕû°æ±¾: FarPoint.Web.Spread.FpSpreadʼþ´¥·¢»úÖÆ