pro_imaj Posted December 14, 2015 Share Posted December 14, 2015 Merhaba; UniDBGrid'de bir kolondaki bir şarta göre ilgili kolondaki sadece o satırı düzenlenebilir nasıl yapabilirim. Örn; MalzemeKodu StokMiktarı TalepMiktar 00001 10 Stok Miktarı 0 dan büyük olduğu için Düzenlemeye Açık 00002 20 Stok Miktarı 0 dan büyük olduğu için Düzenlemeye Açık 00003 0 Stok Miktarı 0 dan büyük olduğu için Düzenlemeye Kapalı Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 14, 2015 Administrators Share Posted December 14, 2015 Düzenlemeden kastınız "Editable" olması mi? Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted December 14, 2015 Author Share Posted December 14, 2015 Düzenlemeden kastınız "Editable" olması mi? Evet. Yani "Talep Miktar" alanına veri girişi yapılabilir hale gelmiş olacak (3. satırdaki örnek için.) Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 15, 2015 Administrators Share Posted December 15, 2015 Doğrudan bunu yapamayız. ClientEvents ile aşağıdaki gibi yapılabilir: function beforeedit(editor, context, eOpts) { if (context.value == '0') return false; } 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.